]> arthur.barton.de Git - bup.git/blobdiff - cmd/random-cmd.py
Rename _faster.so to _helpers.so.
[bup.git] / cmd / random-cmd.py
index 9a24face2598f27ab81bfee007fa2bef7365315d..19732b9e18e519abd5848f6ca8a6f1954230638e 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 import sys
-from bup import options, _faster
+from bup import options, _helpers
 from bup.helpers import *
 
 optspec = """
@@ -21,7 +21,7 @@ handle_ctrl_c()
 
 if opt.force or (not os.isatty(1) and
                  not atoi(os.environ.get('BUP_FORCE_TTY')) & 1):
-    _faster.write_random(sys.stdout.fileno(), total, opt.seed)
+    _helpers.write_random(sys.stdout.fileno(), total, opt.seed)
 else:
     log('error: not writing binary data to a terminal. Use -f to force.\n')
     sys.exit(1)