]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/compat.py
Fix tindex for python 3
[bup.git] / lib / bup / compat.py
index 3707ceb5966407f7680d32bb8580a7ab911b5823..7b20ebccfe5afaa7e0ea968f7e771b3c81aac7e7 100644 (file)
@@ -63,6 +63,9 @@ if py3:
 
 else:  # Python 2
 
+    def fsencode(x):
+        return x
+
     from pipes import quote
     from os import environ
     range = xrange