]> arthur.barton.de Git - bup.git/blobdiff - cmd/bloom-cmd.py
do_bloom(): remove unused "count" variable
[bup.git] / cmd / bloom-cmd.py
index cd4506d482c2ac8c10f49accee9065bbf314a031..d74cce2704567597fc1fce934032dfd025041e55 100755 (executable)
@@ -110,14 +110,13 @@ def do_bloom(path, outfilename):
     if b is None:
         tfname = os.path.join(path, 'bup.tmp.bloom')
         b = bloom.create(tfname, expected=add_count, k=opt.k)
-    count = 0
+
     icount = 0
     for name in add:
         ix = git.open_idx(name)
         qprogress('bloom: writing %.2f%% (%d/%d objects)\r' 
                   % (icount*100.0/add_count, icount, add_count))
         b.add_idx(ix)
-        count += 1
         icount += len(ix)
 
     # Currently, there's an open file object for tfname inside b.