summaryrefslogtreecommitdiff
path: root/fastimport/processors/filter_processor.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@jelmer.uk>2021-04-10 15:28:12 +0100
committerJelmer Vernooij <jelmer@jelmer.uk>2021-04-10 15:28:12 +0100
commitf32bf2e57f6a4d14ed135719ff718e148888bbdf (patch)
tree2b6bc47efe4de47c9e4d81ee03918306f055e84f /fastimport/processors/filter_processor.py
parentd42d2cf768f2bf7beafcbf79e0194f4e3319aa68 (diff)
downloadpython-fastimport-git-f32bf2e57f6a4d14ed135719ff718e148888bbdf.tar.gz
Drop python2 helper.
Diffstat (limited to 'fastimport/processors/filter_processor.py')
-rw-r--r--fastimport/processors/filter_processor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastimport/processors/filter_processor.py b/fastimport/processors/filter_processor.py
index 91c54f1..a252990 100644
--- a/fastimport/processors/filter_processor.py
+++ b/fastimport/processors/filter_processor.py
@@ -157,7 +157,7 @@ class FilterProcessor(processor.ImportProcessor):
def _print_command(self, cmd):
"""Wrapper to avoid adding unnecessary blank lines."""
- text = helpers.repr_bytes(cmd)
+ text = bytes(cmd)
self.outf.write(text)
if not text.endswith(b'\n'):
self.outf.write(b'\n')