]> arthur.barton.de Git - bup.git/commitdiff
save-cmd: oops, left in some code that was forcing progress output.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 14 Mar 2010 05:05:44 +0000 (00:05 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 14 Mar 2010 05:05:44 +0000 (00:05 -0500)
cmd/save-cmd.py

index b97baa3b50cd4851c413112e25e0a735c0e0ffca..afb250611a3bb549ba7384e87283d6240faf02ec 100755 (executable)
@@ -117,7 +117,7 @@ def wantrecurse_during(ent):
     return not already_saved(ent) or ent.sha_missing()
 
 total = ftotal = 0
-if opt.progress or 1:
+if opt.progress:
     for (transname,ent) in r.filter(extra, wantrecurse=wantrecurse_pre):
         if not (ftotal % 10024):
             progress('Reading index: %d\r' % ftotal)