summaryrefslogtreecommitdiff
path: root/fastimport/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'fastimport/commands.py')
-rw-r--r--fastimport/commands.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/fastimport/commands.py b/fastimport/commands.py
index 9cd72ee..39119c6 100644
--- a/fastimport/commands.py
+++ b/fastimport/commands.py
@@ -22,12 +22,10 @@ from __future__ import division
import re
import stat
-import sys
from .helpers import (
newobject as object,
utf8_bytes_string,
- repr_bytes,
)
@@ -236,7 +234,7 @@ class CommitCommand(ImportCommand):
else:
if include_file_contents:
filecommands = b''.join(
- [b'\n' + repr_bytes(c) for c in self.iter_files()])
+ [b'\n' + bytes(c) for c in self.iter_files()])
else:
filecommands = b''.join(
[b'\n' + str(c) for c in self.iter_files()])