summaryrefslogtreecommitdiff
path: root/processors/query_processor.py
diff options
context:
space:
mode:
Diffstat (limited to 'processors/query_processor.py')
-rw-r--r--processors/query_processor.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/processors/query_processor.py b/processors/query_processor.py
index 5d33a5b..76250e5 100644
--- a/processors/query_processor.py
+++ b/processors/query_processor.py
@@ -17,7 +17,7 @@
"""Import processor that queries the input (and doesn't import)."""
-from bzrlib.plugins.fastimport import (
+from fastimport import (
commands,
processor,
)
@@ -32,9 +32,8 @@ class QueryProcessor(processor.ImportProcessor):
known_params = commands.COMMAND_NAMES + commands.FILE_COMMAND_NAMES + \
['commit-mark']
- def __init__(self, target=None, params=None, verbose=False):
- # Allow creation without a target
- processor.ImportProcessor.__init__(self, target, params, verbose)
+ def __init__(self, params=None, verbose=False):
+ processor.ImportProcessor.__init__(self, params, verbose)
self.parsed_params = {}
self.interesting_commit = None
self._finished = False