diff options
| author | Barry Warsaw | 2012-12-28 16:35:08 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2012-12-28 16:35:08 -0500 |
| commit | 582d6e486f9693a2ce082071b747eec468df19b6 (patch) | |
| tree | c25dcc945f161c6d44154c20de72793702be313e /src/mailman/styles/default.py | |
| parent | 2b663ac20e7898167cf242d3628f8cf0feeab12f (diff) | |
| download | mailman-582d6e486f9693a2ce082071b747eec468df19b6.tar.gz mailman-582d6e486f9693a2ce082071b747eec468df19b6.tar.zst mailman-582d6e486f9693a2ce082071b747eec468df19b6.zip | |
Diffstat (limited to 'src/mailman/styles/default.py')
| -rw-r--r-- | src/mailman/styles/default.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mailman/styles/default.py b/src/mailman/styles/default.py index cb4da396d..138d49872 100644 --- a/src/mailman/styles/default.py +++ b/src/mailman/styles/default.py @@ -47,7 +47,6 @@ class DefaultStyle: """The default (i.e. legacy) style.""" name = 'default' - priority = 0 # the lowest priority style def apply(self, mailing_list): """See `IStyle`.""" @@ -55,6 +54,7 @@ class DefaultStyle: mlist = mailing_list # List identity. mlist.display_name = mlist.list_name.capitalize() + mlist.style_name = self.name mlist.include_rfc2369_headers = True mlist.allow_list_posts = True # Most of these were ripped from the old MailList.InitVars() method. @@ -217,9 +217,3 @@ from: .*@uplinkpro.com mlist.owner_chain = 'default-owner-chain' # The default pipeline to send -owner email through. mlist.owner_pipeline = 'default-owner-pipeline' - - def match(self, mailing_list, styles): - """See `IStyle`.""" - # If no other styles have matched, then the default style matches. - if len(styles) == 0: - styles.append(self) |
