diff options
| author | Barry Warsaw | 2009-12-08 22:39:10 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-12-08 22:39:10 -0500 |
| commit | 3d65590999f5288307ecb0df6ae1b77241869f61 (patch) | |
| tree | 7047453b1ddfbc6d5715834553f46e3362d3e1da /src/mailman/interfaces/mailinglist.py | |
| parent | 24f92b6c842bfa3701cb708e4aee3c991f206c9d (diff) | |
| download | mailman-3d65590999f5288307ecb0df6ae1b77241869f61.tar.gz mailman-3d65590999f5288307ecb0df6ae1b77241869f61.tar.zst mailman-3d65590999f5288307ecb0df6ae1b77241869f61.zip | |
* Make IDomainManager a utility, since the config object is global.
* Give IMailingList a .domain attribute which looks up the IDomain for its
.host_name. This cleans up a lot of code.
* Add a test for the 'confirm' email command.
* Suppress blank lines in email command responses.
* Make the IDomainCollection a utility.
Diffstat (limited to 'src/mailman/interfaces/mailinglist.py')
| -rw-r--r-- | src/mailman/interfaces/mailinglist.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mailman/interfaces/mailinglist.py b/src/mailman/interfaces/mailinglist.py index 610e697db..377bcc976 100644 --- a/src/mailman/interfaces/mailinglist.py +++ b/src/mailman/interfaces/mailinglist.py @@ -88,7 +88,6 @@ class IMailingList(Interface): part of the posting email address. For example, if messages are posted to mylist@example.com, then the list_name is 'mylist'. """))) - host_name = exported(TextLine( title=_('Host name'), description=_("""\ @@ -108,6 +107,9 @@ class IMailingList(Interface): always comprised of the list_name + '@' + host_name. """))) + domain = Attribute( + """The `IDomain` that this mailing list is defined in.""") + real_name = exported(TextLine( title=_('Real name'), description=_("""\ |
