equal
deleted
inserted
replaced
378 if item: |
378 if item: |
379 item = ' ' + item |
379 item = ' ' + item |
380 |
380 |
381 if total: |
381 if total: |
382 pct = 100.0 * pos / total |
382 pct = 100.0 * pos / total |
383 self.debug('%s:%s %s/%s%s (%4.2g%%)\n' |
383 self.debug('%s:%s %s/%s%s (%4.2f%%)\n' |
384 % (topic, item, pos, total, unit, pct)) |
384 % (topic, item, pos, total, unit, pct)) |
385 else: |
385 else: |
386 self.debug('%s:%s %s%s\n' % (topic, item, pos, unit)) |
386 self.debug('%s:%s %s%s\n' % (topic, item, pos, unit)) |