equal
deleted
inserted
replaced
387 if item: |
387 if item: |
388 item = ' ' + item |
388 item = ' ' + item |
389 |
389 |
390 if total: |
390 if total: |
391 pct = 100.0 * pos / total |
391 pct = 100.0 * pos / total |
392 self.debug('%s:%s %s/%s%s (%4.2g%%)\n' |
392 self.debug('%s:%s %s/%s%s (%4.2f%%)\n' |
393 % (topic, item, pos, total, unit, pct)) |
393 % (topic, item, pos, total, unit, pct)) |
394 else: |
394 else: |
395 self.debug('%s:%s %s%s\n' % (topic, item, pos, unit)) |
395 self.debug('%s:%s %s%s\n' % (topic, item, pos, unit)) |