Commit eb9205099c998c7ec2005da82a184dd38cdc6bde
1 parent
c8d78739
minor improvement to logging
Showing
1 changed file
with
1 additions
and
1 deletions
cscripts/csiactcopy.py
| ... | ... | @@ -364,7 +364,7 @@ class csiactcopy(ctools.cscript): |
| 364 | 364 | |
| 365 | 365 | # Log progress |
| 366 | 366 | fraction = float(k) / float(len(files)) * 100.0 |
| 367 | - if fraction > last_fraction: | |
| 367 | + while fraction > last_fraction: | |
| 368 | 368 | if self.logNormal() and not self.logVerbose(): |
| 369 | 369 | self.log.parformat("Status") |
| 370 | 370 | self.log(str(int(last_fraction))+"%") | ... | ... |