]> arthur.barton.de Git - bup.git/blobdiff - cmd/random-cmd.py
fsck: only specify -t1 when par2 appears to support it
[bup.git] / cmd / random-cmd.py
index 7d4c007611334c64b7ae61425839745f0cea5d69..3eef820143be8ed3f506ce4af8381c6511fdca71 100755 (executable)
@@ -4,9 +4,13 @@ bup_python="$(dirname "$0")/bup-python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
-import sys
+
+from __future__ import absolute_import
+import os, sys
+
 from bup import options, _helpers
-from bup.helpers import *
+from bup.helpers import atoi, handle_ctrl_c, log, parse_num
+
 
 optspec = """
 bup random [-S seed] <numbytes>