/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/fastimport/__init__.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2017-06-05 23:41:15 UTC
  • mfrom: (6658.1.1 selftest_py3_progress)
  • Revision ID: breezy.the.bot@gmail.com-20170605234115-1za2yq141bz0fcy2
Work towards passing bt.test_selftest

Merged from https://code.launchpad.net/~gz/brz/selftest_py3_progress/+merge/325126

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    """Load the fastimport module or raise an appropriate exception."""
67
67
    try:
68
68
        import fastimport
69
 
    except ImportError, e:
 
69
    except ImportError as e:
70
70
        from ...errors import DependencyNotPresent
71
71
        raise DependencyNotPresent("fastimport",
72
72
            "fastimport requires the fastimport python module")