]> arthur.barton.de Git - bup.git/blobdiff - cmd/cat-file-cmd.py
index: only collect metadata for stale paths
[bup.git] / cmd / cat-file-cmd.py
index d8a3dc559cc553e6f11abf3d9067a383d50786c5..3247e4ff2dbd154a30741306c5c33a4583bfaf7d 100755 (executable)
@@ -4,9 +4,11 @@ bup_python="$(dirname "$0")/bup-python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
-import sys, stat
+
+import re, stat, sys
+
 from bup import options, git, vfs
-from bup.helpers import *
+from bup.helpers import chunkyreader, handle_ctrl_c, log, saved_errors
 
 optspec = """
 bup cat-file [--meta|--bupm] /branch/revision/[path]