X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=main.py;h=edb3ed88fa4196cafa26e81be957d08c634684fd;hb=c40b3dd5fd74e72024fbaad3daf5a958aefa1c54;hp=dc1bec28690015fceaf127ec27af29ce56767748;hpb=be10c911bbe8c51357b20bf1ea6d472d908670d4;p=bup.git diff --git a/main.py b/main.py index dc1bec2..edb3ed8 100755 --- a/main.py +++ b/main.py @@ -5,6 +5,7 @@ exec "$bup_python" "$0" ${1+"$@"} """ # end of bup preamble +from __future__ import absolute_import import errno, re, sys, os, subprocess, signal, getopt from fcntl import F_GETFL, F_SETFL @@ -35,7 +36,7 @@ os.environ['BUP_MAIN_EXE'] = os.path.abspath(exe) os.environ['BUP_RESOURCE_PATH'] = resourcepath -from bup import helpers +from bup import compat, helpers from bup.compat import add_ex_tb, chain_ex, wrap_main from bup.helpers import atoi, columnate, debug1, log, tty_width