X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=lib%2Fcmd%2Ffuse-cmd.py;h=bb6d98d06f0e86b382f0a1d6f23a508c0aa57ebf;hb=938537c3a9bb76cfa7d62f931ffee0ff3359aa55;hp=eb5daf834548bee8360170f7021f0dd6b4e601f9;hpb=f3b164a6242f950591a950b47a2c164038465aea;p=bup.git diff --git a/lib/cmd/fuse-cmd.py b/lib/cmd/fuse-cmd.py index eb5daf8..bb6d98d 100755 --- a/lib/cmd/fuse-cmd.py +++ b/lib/cmd/fuse-cmd.py @@ -15,7 +15,7 @@ exec "$bup_python" "$0" # end of bup preamble from __future__ import absolute_import, print_function -import sys, os, errno +import errno, os, sys try: import fuse @@ -41,6 +41,8 @@ if sys.version_info[0] > 2: file=sys.stderr) sys.exit(2) +sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..'] + from bup import compat, options, git, vfs, xstat from bup.compat import argv_bytes, fsdecode, py_maj from bup.helpers import log