Commit a2f7c7ba authored by Vincent Pelletier's avatar Vincent Pelletier

Use print_exc directly.

parent 407d20fe
...@@ -1381,7 +1381,7 @@ def main(): ...@@ -1381,7 +1381,7 @@ def main():
if not quiet: if not quiet:
print >> sys.stderr, 'Error analysing line at %s:%i: %r' % (filename, print >> sys.stderr, 'Error analysing line at %s:%i: %r' % (filename,
lineno, line) lineno, line)
print >> sys.stderr, traceback.format_exc() traceback.print_exc(file=sys.stderr)
all_lines += lineno all_lines += lineno
if show_progress: if show_progress:
print >> sys.stderr, lineno print >> sys.stderr, lineno
......
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