/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from __future__ import absolute_import
26
26
 
27
 
from breezy.lazy_import import lazy_import
 
27
from .lazy_import import lazy_import
28
28
lazy_import(globals(), """
29
29
import textwrap
30
30
 
45
45
from breezy.i18n import gettext
46
46
""")
47
47
 
48
 
from breezy import registry
 
48
from . import registry
49
49
 
50
50
 
51
51
class ControlComponent(object):
754
754
            try:
755
755
                result = klass.open_from_transport(a_transport)
756
756
                return result, urlutils.unescape(a_transport.relpath(url))
757
 
            except errors.NotBranchError, e:
 
757
            except errors.NotBranchError as e:
758
758
                pass
759
759
            except errors.PermissionDenied:
760
760
                pass