]> arthur.barton.de Git - bup.git/blobdiff - cmd/restore-cmd.py
Remove max_pack_size and max_pack_objects globals
[bup.git] / cmd / restore-cmd.py
index afcc3a444940e266a4312744f1336b043e9be64b..9fbaf909ee14eeac5553e0b9f648f303dfecd819 100755 (executable)
@@ -4,10 +4,15 @@ bup_python="$(dirname "$0")/bup-python" || exit $?
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
-import copy, errno, sys, stat, re
+
+import copy, errno, os, sys, stat, re
+
 from bup import options, git, metadata, vfs
-from bup.helpers import *
 from bup._helpers import write_sparsely
+from bup.helpers import (add_error, chunkyreader, handle_ctrl_c, log, mkdirp,
+                         parse_rx_excludes, progress, qprogress, saved_errors,
+                         should_rx_exclude_path, unlink)
+
 
 optspec = """
 bup restore [-C outdir] </branch/revision/path/to/dir ...>