]> arthur.barton.de Git - bup.git/blobdiff - cmd/index-cmd.py
Use the new qprogress() function in more places.
[bup.git] / cmd / index-cmd.py
index b3abb902e31bc2ccc2e9666b7a7be06b99b927a2..a04355096406c837ef29911387aceb3597f04a03 100755 (executable)
@@ -67,9 +67,9 @@ def update_index(top, excluded_paths):
         if opt.verbose>=2 or (opt.verbose==1 and stat.S_ISDIR(pst.st_mode)):
             sys.stdout.write('%s\n' % path)
             sys.stdout.flush()
-            progress('Indexing: %d\r' % total)
+            qprogress('Indexing: %d\r' % total)
         elif not (total % 128):
-            progress('Indexing: %d\r' % total)
+            qprogress('Indexing: %d\r' % total)
         total += 1
         while rig.cur and rig.cur.name > path:  # deleted paths
             if rig.cur.exists():