X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fweb-cmd.py;h=eeb9107d3e93e19e98c2c1bb61a7cf68d571d82b;hb=6b6559e405d264d4127211b935b21a3dda93ad93;hp=ea09088ca249e2915664824e8644e635c611125e;hpb=af61998e1f8f46b666594d3b1540c5a530282eb8;p=bup.git diff --git a/cmd/web-cmd.py b/cmd/web-cmd.py index ea09088..eeb9107 100755 --- a/cmd/web-cmd.py +++ b/cmd/web-cmd.py @@ -5,14 +5,15 @@ exec "$bup_python" "$0" ${1+"$@"} """ # end of bup preamble -from __future__ import print_function +from __future__ import absolute_import, print_function from collections import namedtuple import mimetypes, os, posixpath, signal, stat, sys, time, urllib, webbrowser -from bup import options, git, vfs2 as vfs +from bup import options, git, vfs from bup.helpers import (chunkyreader, debug1, format_filesize, handle_ctrl_c, - log, resource_path, saved_errors) + log, saved_errors) from bup.metadata import Metadata +from bup.path import resource_path from bup.repo import LocalRepo try: