~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/model/branchlookup.py

  • Committer: Curtis Hovey
  • Date: 2011-12-29 05:29:36 UTC
  • mto: This revision was merged to the branch mainline in revision 14606.
  • Revision ID: curtis.hovey@canonical.com-20111229052936-c261pibg1p6ze6m4
Moved canonical.config to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    )
23
23
from zope.interface import implements
24
24
 
 
25
from lp.services.config import config
 
26
from lp.services.database.lpstorm import (
 
27
    IMasterStore,
 
28
    ISlaveStore,
 
29
    )
 
30
from lp.services.webapp.authorization import check_permission
 
31
from lp.services.webapp.interfaces import (
 
32
    DEFAULT_FLAVOR,
 
33
    IStoreSelector,
 
34
    MAIN_STORE,
 
35
    )
25
36
from lp.app.validators.name import valid_name
26
37
from lp.code.errors import (
27
38
    CannotHaveLinkedBranch,
60
71
from lp.registry.model.person import Person
61
72
from lp.registry.model.product import Product
62
73
from lp.registry.model.sourcepackagename import SourcePackageName
63
 
from lp.services.config import config
64
 
from lp.services.database.lpstorm import (
65
 
    IMasterStore,
66
 
    ISlaveStore,
67
 
    )
68
74
from lp.services.utils import iter_split
69
 
from lp.services.webapp.authorization import check_permission
70
 
from lp.services.webapp.interfaces import (
71
 
    DEFAULT_FLAVOR,
72
 
    IStoreSelector,
73
 
    MAIN_STORE,
74
 
    )
75
75
 
76
76
 
77
77
def adapt(provided, interface):