diff options
| author | Barry Warsaw | 2015-04-06 16:07:04 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-04-06 16:07:04 -0400 |
| commit | f17be16aeac385854ca9693626027dbd553c2944 (patch) | |
| tree | 1eb6be6826b99159eb7325895347aca8ef8a44b1 /src/mailman/interfaces | |
| parent | b0a841d634ad5a44b44af17548636e17c38541f1 (diff) | |
| parent | 17fa7ac10ddd6ca0916cdcdd3a5e8c1414e9bcbc (diff) | |
| download | mailman-f17be16aeac385854ca9693626027dbd553c2944.tar.gz mailman-f17be16aeac385854ca9693626027dbd553c2944.tar.zst mailman-f17be16aeac385854ca9693626027dbd553c2944.zip | |
Abhilash's branch, pre-cleaning.
Diffstat (limited to 'src/mailman/interfaces')
| -rw-r--r-- | src/mailman/interfaces/domain.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/mailman/interfaces/domain.py b/src/mailman/interfaces/domain.py index 3ebfb0d6e..ee5eafc78 100644 --- a/src/mailman/interfaces/domain.py +++ b/src/mailman/interfaces/domain.py @@ -88,9 +88,8 @@ class IDomain(Interface): description = Attribute( 'The human readable description of the domain name.') - contact_address = Attribute("""\ - The contact address for the human at this domain. - E.g. postmaster@example.com""") + owners = Attribute("""\ + The relationship with the user database representing domain owners""") mailing_lists = Attribute( """All mailing lists for this domain. @@ -112,7 +111,7 @@ class IDomain(Interface): class IDomainManager(Interface): """The manager of domains.""" - def add(mail_host, description=None, base_url=None, contact_address=None): + def add(mail_host, description=None, base_url=None, owner_id=None): """Add a new domain. :param mail_host: The email host name for the domain. @@ -123,10 +122,8 @@ class IDomainManager(Interface): interface of the domain. If not given, it defaults to http://`mail_host`/ :type base_url: string - :param contact_address: The email contact address for the human - managing the domain. If not given, defaults to - postmaster@`mail_host` - :type contact_address: string + :param owners: List of owners of the domain, defaults to None + :type owners: list :return: The new domain object :rtype: `IDomain` :raises `BadDomainSpecificationError`: when the `mail_host` is |
