]> arthur.barton.de Git - bup.git/blobdiff - cmd/fsck-cmd.py
bup-split.md: indicate --noop doesn't require -t and -n
[bup.git] / cmd / fsck-cmd.py
index 94eeb89f4ae52bb429a725a2d28fb080a59fb581..df43b67080853511670b55ac83655278f0049a53 100755 (executable)
@@ -4,9 +4,12 @@ bup_python="$(dirname "$0")/bup-python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
+
+from __future__ import absolute_import
 import sys, os, glob, subprocess
+
 from bup import options, git
-from bup.helpers import *
+from bup.helpers import Sha1, chunkyreader, istty2, log, progress
 
 par2_ok = 0
 nullf = open('/dev/null')
@@ -77,7 +80,7 @@ def git_verify(base):
         try:
             quick_verify(base)
         except Exception as e:
-            debug('error: %s\n' % e)
+            log('error: %s\n' % e)
             return 1
         return 0
     else: