Commit 5481d0ba authored by Andreas Jung's avatar Andreas Jung

wrapped lines

parent 8135c301
...@@ -73,7 +73,8 @@ class StdoutHandler: ...@@ -73,7 +73,8 @@ class StdoutHandler:
def report(self, current, *args, **kw): def report(self, current, *args, **kw):
if current % self._steps == 0: if current % self._steps == 0:
self.output('%d/%d (%.2f%%)' % (current, self._max, (100.0 * current / self._max))) self.output('%d/%d (%.2f%%)' % (current, self._max,
(100.0 * current / self._max)))
def output(self, text): def output(self, text):
print >>self.fp, '%s: %s' % (self._ident, text) print >>self.fp, '%s: %s' % (self._ident, text)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment