]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/xstat-cmd.py
Stop forcing LC_CTYPE=ISO-8859-1
[bup.git] / lib / cmd / xstat-cmd.py
index 297df7225e201ad7c1239af6dd80165d5ea11868..8a56ba58deac41202ba069336767b3ad1cdd80f7 100755 (executable)
@@ -20,7 +20,9 @@ exec "$bup_python" "$0"
 # Public License as described in the bup LICENSE file.
 
 from __future__ import absolute_import, print_function
-import sys, stat, errno
+import errno, os.path, sys, stat
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
 
 from bup import compat, metadata, options, xstat
 from bup.compat import argv_bytes