summaryrefslogtreecommitdiff
path: root/fastimport/helpers.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/helpers.py
parentd42d2cf768f2bf7beafcbf79e0194f4e3319aa68 (diff)
downloadpython-fastimport-git-f32bf2e57f6a4d14ed135719ff718e148888bbdf.tar.gz
Drop python2 helper.
Diffstat (limited to 'fastimport/helpers.py')
-rw-r--r--fastimport/helpers.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/fastimport/helpers.py b/fastimport/helpers.py
index 78fe50c..b1451f7 100644
--- a/fastimport/helpers.py
+++ b/fastimport/helpers.py
@@ -14,7 +14,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Miscellaneous useful stuff."""
-import sys
def _common_path_and_rest(l1, l2, common=[]):
@@ -110,11 +109,6 @@ def utf8_bytes_string(s):
return s
-def repr_bytes(obj):
- """Return a bytes representation of the object"""
- return bytes(obj)
-
-
class newobject(object):
"""
A magical object class that provides Python 2 compatibility methods::