~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/interfaces/branch.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-10 15:16:40 UTC
  • mfrom: (13637.3.6 safe-open-reconcile)
  • Revision ID: launchpad@pqm.canonical.com-20110810151640-jv0uzsxpns5dhy8z
[r=stevenk][bug=820453] Make lp.codehosting.bzrutils.safe_open a
        trivial wrapper around SafeBranchOpener rather than duplicating
        the code for safely opening a branch in two places.

Show diffs side-by-side

added added

removed removed

Lines of Context:
911
911
        You can only call this if a server returned by `get_ro_server` or
912
912
        `get_rw_server` is running.
913
913
 
914
 
        :raise lp.codehosting.bzrutils.UnsafeUrlSeen: If the branch is stacked
 
914
        :raise lp.codehosting.safe_open.BadUrl: If the branch is stacked
915
915
            on or a reference to an unacceptable URL.
916
916
        """
917
917