X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fbup%2Fls.py;h=7b3d9eae681ada1995b901bbcbb15647913d7f98;hb=c40b3dd5fd74e72024fbaad3daf5a958aefa1c54;hp=78717ac1dc2d4072f6f830537350b12e1f004ddf;hpb=f76c37383ddb82343e85632e9154547412e7b1ad;p=bup.git diff --git a/lib/bup/ls.py b/lib/bup/ls.py index 78717ac..7b3d9ea 100644 --- a/lib/bup/ls.py +++ b/lib/bup/ls.py @@ -1,14 +1,14 @@ """Common code for listing files from a bup repository.""" -from __future__ import print_function +from __future__ import absolute_import, print_function from itertools import chain from stat import S_ISDIR, S_ISLNK -import copy, locale, os.path, stat, sys, xstat +import copy, locale, os.path, stat, sys -from bup import metadata, options, vfs +from bup import metadata, options, vfs, xstat from bup.options import Options from bup.repo import LocalRepo, RemoteRepo -from helpers import columnate, istty1, last, log +from bup.helpers import columnate, istty1, last, log def item_hash(item, tree_for_commit): """If the item is a Commit, return its commit oid, otherwise return