projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e8a008
)
removed debug code
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 15 Aug 2008 02:42:43 +0000
(
04:42
+0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 15 Aug 2008 02:42:43 +0000
(
04:42
+0200)
Cython/Compiler/Main.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Main.py
b/Cython/Compiler/Main.py
index 723d254738230624b322756c051a6be407910c7d..9f9c4dfd352b612c9a08c120609a02d740c3a4d2 100644
(file)
--- a/
Cython/Compiler/Main.py
+++ b/
Cython/Compiler/Main.py
@@
-397,8
+397,8
@@
class Context:
finally:
f.close()
except UnicodeDecodeError, msg:
- import traceback
- traceback.print_exc()
+
#
import traceback
+
#
traceback.print_exc()
error((source_desc, 0, 0), "Decoding error, missing or incorrect coding=<encoding-name> at top of source (%s)" % msg)
if Errors.num_errors > 0:
raise CompileError