~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/vocabularies.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
 
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009-2010 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Vocabularies for content objects.
103
103
    SQLBase,
104
104
    sqlvalues,
105
105
    )
 
106
from canonical.launchpad.components.decoratedresultset import (
 
107
    DecoratedResultSet,
 
108
    )
 
109
from canonical.launchpad.database.emailaddress import EmailAddress
106
110
from canonical.launchpad.helpers import (
107
111
    ensure_unicode,
108
112
    shortlist,
109
113
    )
110
 
from lp.services.database.lpstorm import IStore
 
114
from canonical.launchpad.interfaces.emailaddress import EmailAddressStatus
 
115
from canonical.launchpad.interfaces.lpstorm import IStore
111
116
from canonical.launchpad.webapp.authorization import check_permission
112
117
from canonical.launchpad.webapp.interfaces import (
113
118
    DEFAULT_FLAVOR,
192
197
from lp.registry.model.sourcepackagename import SourcePackageName
193
198
from lp.registry.model.teammembership import TeamParticipation
194
199
from lp.services.database import bulk
195
 
from lp.services.database.decoratedresultset import DecoratedResultSet
196
 
from lp.services.identity.interfaces.emailaddress import EmailAddressStatus
197
 
from lp.services.identity.model.emailaddress import EmailAddress
198
200
from lp.services.propertycache import (
199
201
    cachedproperty,
200
202
    get_property_cache,