summaryrefslogtreecommitdiff
path: root/fastimport/processors/query_processor.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@jelmer.uk>2021-09-18 16:55:06 +0100
committerJelmer Vernooij <jelmer@jelmer.uk>2021-09-18 16:55:06 +0100
commit90cc92891309e192f6c6ba2665badac12619a1ed (patch)
treec6e3e5720f914749799946f40bca3a39b0729f02 /fastimport/processors/query_processor.py
parent088bc0459e50bbcb948f3317772825859347b014 (diff)
parent6ed4b196e21974c6bac4323522cd086794618068 (diff)
downloadpython-fastimport-git-upstream.tar.gz
Import upstream version 0.9.14upstream/0.9.14upstream
Diffstat (limited to 'fastimport/processors/query_processor.py')
-rw-r--r--fastimport/processors/query_processor.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/fastimport/processors/query_processor.py b/fastimport/processors/query_processor.py
index a40f2d6..ce93c90 100644
--- a/fastimport/processors/query_processor.py
+++ b/fastimport/processors/query_processor.py
@@ -17,7 +17,7 @@
from __future__ import print_function
-from fastimport import (
+from .. import (
commands,
processor,
)
@@ -94,5 +94,6 @@ class QueryProcessor(processor.ImportProcessor):
"""Process a FeatureCommand."""
feature = cmd.feature_name
if feature not in commands.FEATURE_NAMES:
- self.warning("feature %s is not supported - parsing may fail"
+ self.warning(
+ "feature %s is not supported - parsing may fail"
% (feature,))