]> arthur.barton.de Git - bup.git/blobdiff - cmd/restore-cmd.py
Use next(it), not it.next() and drop the helpers fallback
[bup.git] / cmd / restore-cmd.py
index d1ff9b59890eb7f6620d37e43e17e6903901b19c..9fbaf909ee14eeac5553e0b9f648f303dfecd819 100755 (executable)
@@ -9,7 +9,7 @@ import copy, errno, os, sys, stat, re
 
 from bup import options, git, metadata, vfs
 from bup._helpers import write_sparsely
-from bup.helpers import (chunkyreader, handle_ctrl_c, log, mkdirp,
+from bup.helpers import (add_error, chunkyreader, handle_ctrl_c, log, mkdirp,
                          parse_rx_excludes, progress, qprogress, saved_errors,
                          should_rx_exclude_path, unlink)