Commit 43bef567 authored by Stefan Behnel's avatar Stefan Behnel

removed debug code

parent 2e8a0084
...@@ -397,8 +397,8 @@ class Context: ...@@ -397,8 +397,8 @@ class Context:
finally: finally:
f.close() f.close()
except UnicodeDecodeError, msg: except UnicodeDecodeError, msg:
import traceback #import traceback
traceback.print_exc() #traceback.print_exc()
error((source_desc, 0, 0), "Decoding error, missing or incorrect coding=<encoding-name> at top of source (%s)" % msg) error((source_desc, 0, 0), "Decoding error, missing or incorrect coding=<encoding-name> at top of source (%s)" % msg)
if Errors.num_errors > 0: if Errors.num_errors > 0:
raise CompileError raise CompileError
......
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