##// END OF EJS Templates
ui: fix progress debug log format strings to work on Python 3
Augie Fackler -
r34272:a254c669 default
parent child Browse files
Show More
@@ -1521,10 +1521,10 b' class ui(object):'
1521 1521
1522 1522 if total:
1523 1523 pct = 100.0 * pos / total
1524 self.debug('%s:%s %s/%s%s (%4.2f%%)\n'
1524 self.debug('%s:%s %d/%d%s (%4.2f%%)\n'
1525 1525 % (topic, item, pos, total, unit, pct))
1526 1526 else:
1527 self.debug('%s:%s %s%s\n' % (topic, item, pos, unit))
1527 self.debug('%s:%s %d%s\n' % (topic, item, pos, unit))
1528 1528
1529 1529 def log(self, service, *msg, **opts):
1530 1530 '''hook for logging facility extensions
General Comments 0
You need to be logged in to leave comments. Login now