diff options
author | Richard Wilbur <richard.wilbur@gmail.com> | 2014-06-02 20:58:47 -0600 |
---|---|---|
committer | Richard Wilbur <richard.wilbur@gmail.com> | 2014-06-02 20:58:47 -0600 |
commit | 6978da619c1c9dbee6554ffa70484e48b7f1e9d1 (patch) | |
tree | 55f02323fb2f16cd6328112f7be61e402b0f74c2 /cmds.py | |
parent | b7b3d7f360c9f8c0d7315aae56bca63ad9f48411 (diff) | |
parent | b7e626f15fd3059686b8925b4e854568519fd92c (diff) | |
download | bzr-fastimport-trunk.tar.gz |
Diffstat (limited to 'cmds.py')
-rw-r--r-- | cmds.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -19,7 +19,10 @@ from bzrlib import bzrdir from bzrlib.commands import Command from bzrlib.option import Option, ListOption, RegistryOption -from bzrlib.plugins.fastimport import load_fastimport +from bzrlib.plugins.fastimport import ( + helpers, + load_fastimport, + ) def _run(source, processor_factory, verbose=False, user_map=None, **kwargs): @@ -47,7 +50,6 @@ def _run(source, processor_factory, verbose=False, user_map=None, **kwargs): def _get_source_stream(source): if source == '-' or source is None: import sys - from fastimport import helpers stream = helpers.binary_stream(sys.stdin) elif source.endswith('.gz'): import gzip |