/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): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
    except ImportError as e:
67
67
        from ...errors import DependencyNotPresent
68
68
        raise DependencyNotPresent("fastimport",
69
 
            "fastimport requires the fastimport python module")
 
69
                                   "fastimport requires the fastimport python module")
70
70
    if fastimport.__version__ < (0, 9, 8):
71
71
        from ...errors import DependencyNotPresent
72
72
        raise DependencyNotPresent("fastimport",
73
 
            "fastimport requires at least version 0.9.8 of the "
74
 
            "fastimport python module")
 
73
                                   "fastimport requires at least version 0.9.8 of the "
 
74
                                   "fastimport python module")
75
75
 
76
76
 
77
77
def test_suite():
83
83
        "fast_import",
84
84
        "fast_export",
85
85
        ]:
86
 
    plugin_cmds.register_lazy("cmd_%s" % name, [], "breezy.plugins.fastimport.cmds")
 
86
    plugin_cmds.register_lazy(
 
87
        "cmd_%s" % name, [], "breezy.plugins.fastimport.cmds")