Commit a2f7c7ba authored by Vincent Pelletier's avatar Vincent Pelletier

Use print_exc directly.

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