Commit 790bf36e authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! Add an argument to disable progress output to stderr.

parent a229cc70
...@@ -1137,7 +1137,7 @@ def main(): ...@@ -1137,7 +1137,7 @@ def main():
lineno = 0 lineno = 0
for lineno, line in enumerate(logfile, 1): for lineno, line in enumerate(logfile, 1):
if show_progress and lineno % 5000 == 0: if show_progress and lineno % 5000 == 0:
print >> sys.stderr, '%i\r', print >> sys.stderr, lineno, '\r',
match = matchline(line) match = matchline(line)
if match is None: if match is None:
match = expensive_matchline(line) match = expensive_matchline(line)
......
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