]> arthur.barton.de Git - bup.git/blobdiff - cmd/web-cmd.py
midx-cmd: accommodate python 3
[bup.git] / cmd / web-cmd.py
index ea09088ca249e2915664824e8644e635c611125e..eeb9107d3e93e19e98c2c1bb61a7cf68d571d82b 100755 (executable)
@@ -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: