~rashi007/mailman/docsfix

« back to all changes in this revision

Viewing changes to src/mailman/model/domain.py

  • Committer: Barry Warsaw
  • Date: 2014-12-01 02:51:03 UTC
  • mto: (7264.4.22 py3)
  • mto: This revision was merged to the branch mainline in revision 7285.
  • Revision ID: barry@list.org-20141201025103-jvkuq92sptrrngiz
Checkpointing.

By using `six` I think I have most of the imports squared away.  There's
probably still uses of `unicode` built-ins that need fixing.

The idea is to first get the test suite running (which it doesn't yet), and
then to fix tests.

There's a bug in lazr.config which requires us to patch it for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    ]
27
27
 
28
28
 
29
 
from sqlalchemy import Column, Integer, Unicode
30
 
from urlparse import urljoin, urlparse
31
 
from zope.event import notify
32
 
from zope.interface import implementer
33
 
 
34
29
from mailman.database.model import Model
35
30
from mailman.database.transaction import dbconnection
36
31
from mailman.interfaces.domain import (
37
32
    BadDomainSpecificationError, DomainCreatedEvent, DomainCreatingEvent,
38
33
    DomainDeletedEvent, DomainDeletingEvent, IDomain, IDomainManager)
39
34
from mailman.model.mailinglist import MailingList
 
35
from six.moves.urllib_parse import urljoin, urlparse
 
36
from sqlalchemy import Column, Integer, Unicode
 
37
from zope.event import notify
 
38
from zope.interface import implementer
40
39
 
41
40
 
42
41