]> arthur.barton.de Git - bup.git/blobdiff - cmd/random-cmd.py
Port rm and prune-older to vfs2
[bup.git] / cmd / random-cmd.py
index 7d4c007611334c64b7ae61425839745f0cea5d69..868c3afd3fcebf2a775bc7e5e5a0b63dfd31239b 100755 (executable)
@@ -4,9 +4,12 @@ bup_python="$(dirname "$0")/bup-python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
-import sys
+
+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>