~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/model/branchcollection.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:
10
10
 
11
11
from collections import defaultdict
12
12
from functools import partial
13
 
from operator import attrgetter
 
13
from operator import (
 
14
    attrgetter,
 
15
    )
14
16
 
15
17
from lazr.restful.utils import safe_hasattr
16
18
from storm.expr import (
32
34
from zope.interface import implements
33
35
 
34
36
from canonical.database.sqlbase import quote
35
 
from lp.services.database.lpstorm import IStore
 
37
from canonical.launchpad.components.decoratedresultset import (
 
38
    DecoratedResultSet,
 
39
    )
 
40
from canonical.launchpad.interfaces.lpstorm import IStore
36
41
from canonical.launchpad.searchbuilder import any
37
42
from canonical.launchpad.webapp.interfaces import (
38
43
    DEFAULT_FLAVOR,
78
83
    load_referencing,
79
84
    load_related,
80
85
    )
81
 
from lp.services.database.decoratedresultset import DecoratedResultSet
82
86
from lp.services.propertycache import get_property_cache
83
87
 
84
88