]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- fix counter print, print it in end of loop
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Jun 2009 17:43:58 +0000 (17:43 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Jun 2009 17:43:58 +0000 (17:43 +0000)
Changed files:
    bin/pfa-signpkg -> 1.8

bin/pfa-signpkg

index 310a5087e90b0a2e4a7fc92daf08a2a188f8d368..d900386711419b827911fe78536ee362b3f95152 100644 (file)
@@ -43,11 +43,11 @@ print "Checking signatures of %d files from %d packages" % (len(files), len(tree
 sign = []
 n = c = 0
 for file in files:
-    print "\r%d/%d %s\033[0K" % (n, c, file),
     if not is_signed(file):
         sign.append(file)
         c += 1
     n += 1
+    print "\r%d/%d %s\033[0K" % (n, c, file),
 
 print ""
 
This page took 0.03888 seconds and 4 git commands to generate.