From eb9205099c998c7ec2005da82a184dd38cdc6bde Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Thu, 11 Feb 2016 13:46:42 +0100 Subject: [PATCH] minor improvement to logging --- cscripts/csiactcopy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cscripts/csiactcopy.py b/cscripts/csiactcopy.py index 17d82be..e8961aa 100755 --- a/cscripts/csiactcopy.py +++ b/cscripts/csiactcopy.py @@ -364,7 +364,7 @@ class csiactcopy(ctools.cscript): # Log progress fraction = float(k) / float(len(files)) * 100.0 - if fraction > last_fraction: + while fraction > last_fraction: if self.logNormal() and not self.logVerbose(): self.log.parformat("Status") self.log(str(int(last_fraction))+"%") -- libgit2 0.21.4