~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/get-branch-info

  • Committer: Ian Booth
  • Date: 2011-12-23 13:48:28 UTC
  • mto: This revision was merged to the branch mainline in revision 14595.
  • Revision ID: ian.booth@canonical.com-20111223134828-i6tlk56o433bstng
Write tests to ensure limited view permission for teams works with the API

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
import sys
14
14
 
15
15
from bzrlib.urlutils import join
 
16
 
16
17
from zope.component import getUtility
17
18
 
 
19
from canonical.config import config
 
20
from lp.services.scripts import execute_zcml_for_scripts
 
21
from canonical.launchpad.webapp.publisher import canonical_url
18
22
from lp.code.enums import BranchType
19
23
from lp.code.interfaces.branchlookup import IBranchLookup
20
24
from lp.codehosting.vfs import branch_id_to_path
21
 
from lp.services.config import config
22
 
from lp.services.scripts import execute_zcml_for_scripts
23
 
from lp.services.webapp.publisher import canonical_url
24
25
 
25
26
 
26
27
def main(args):