~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/mlist-sync.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-15 10:35:32 UTC
  • mfrom: (14517.1.3 new-bzr)
  • Revision ID: launchpad@pqm.canonical.com-20111215103532-q2m4uyk0r8ugiayx
[r=sinzui, poolie][bug=509016] Always load foreign plugins,
 but restrict probers to avoid accidentally opening foreign branches.
 (re-land)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python -S
2
2
#
3
 
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
 
3
# Copyright 2009 Canonical Ltd.  This software is licensed under the
4
4
# GNU Affero General Public License version 3 (see the file LICENSE).
5
5
 
6
6
"""Sync Mailman data from one Launchpad to another."""
37
37
from zope.security.proxy import removeSecurityProxy
38
38
 
39
39
from canonical.config import config
 
40
from canonical.launchpad.interfaces.emailaddress import IEmailAddressSet
40
41
from lp.registry.interfaces.mailinglist import IMailingListSet
41
42
from lp.registry.interfaces.person import IPersonSet
42
 
from lp.services.identity.interfaces.emailaddress import IEmailAddressSet
43
43
from lp.services.mailman.config import configure_prefix
44
44
from lp.services.scripts.base import LaunchpadScript
45
45