~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/xmlrpc/codehosting.py

  • Committer: Curtis Hovey
  • Date: 2011-12-18 15:13:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218151307-sdm2gzobt5tplbe0
Moved badges to lp.app.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from zope.security.management import endInteraction
25
25
from zope.security.proxy import removeSecurityProxy
26
26
 
 
27
from canonical.launchpad.webapp import LaunchpadXMLRPCView
 
28
from canonical.launchpad.webapp.authorization import check_permission
 
29
from canonical.launchpad.webapp.interaction import setupInteractionForPerson
 
30
from canonical.launchpad.xmlrpc import faults
 
31
from canonical.launchpad.xmlrpc.helpers import return_fault
27
32
from lp.app.errors import (
28
33
    NameLookupFailed,
29
34
    NotFoundError,
37
42
    NoLinkedBranch,
38
43
    UnknownBranchTypeError,
39
44
    )
 
45
from lp.code.interfaces.branch import get_db_branch_info
40
46
from lp.code.interfaces import branchpuller
41
 
from lp.code.interfaces.branch import get_db_branch_info
42
47
from lp.code.interfaces.branchlookup import (
43
48
    IBranchLookup,
44
49
    ILinkedBranchTraverser,
74
79
from lp.registry.interfaces.sourcepackagename import ISourcePackageNameSet
75
80
from lp.services.scripts.interfaces.scriptactivity import IScriptActivitySet
76
81
from lp.services.utils import iter_split
77
 
from lp.services.webapp import LaunchpadXMLRPCView
78
 
from lp.services.webapp.authorization import check_permission
79
 
from lp.services.webapp.interaction import setupInteractionForPerson
80
 
from lp.xmlrpc import faults
81
 
from lp.xmlrpc.helpers import return_fault
82
82
 
83
83
 
84
84
UTC = pytz.timezone('UTC')