/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/plugins/launchpad/lp_propose.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:
16
16
 
17
17
from __future__ import absolute_import
18
18
 
19
 
from breezy import (
 
19
from ... import (
20
20
    errors,
21
21
    hooks,
22
22
    )
23
 
from breezy.lazy_import import lazy_import
 
23
from ...lazy_import import lazy_import
24
24
lazy_import(globals(), """
25
25
import webbrowser
26
26
 
183
183
        from lazr.restfulclient import errors as restful_errors
184
184
        try:
185
185
            return call(*args, **kwargs)
186
 
        except restful_errors.HTTPError, e:
 
186
        except restful_errors.HTTPError as e:
187
187
            error_lines = []
188
188
            for line in e.content.splitlines():
189
189
                if line.startswith('Traceback (most recent call last):'):