~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/codehosting/codeimport/worker.py

Merged disco into pgbouncer-fixture.

Show diffs side-by-side

added added

removed removed

Lines of Context:
705
705
            except BadUrl, e:
706
706
                self._logger.info("Invalid URL: %s" % e)
707
707
                return CodeImportWorkerExitCode.FAILURE_FORBIDDEN
 
708
            except ConnectionError, e:
 
709
                self._logger.info("Unable to open remote branch: %s" % e)
 
710
                return CodeImportWorkerExitCode.FAILURE_INVALID
708
711
            try:
709
712
                remote_branch_tip = remote_branch.last_revision()
710
713
                inter_branch = InterBranch.get(remote_branch, bazaar_branch)