projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fb1e21
)
fix again
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 13 Mar 2010 10:07:44 +0000
(11:07 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 13 Mar 2010 10:07:44 +0000
(11:07 +0100)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index fb647d9ddb15f15fadf70917e4cb46899c0cc314..e60614c49f2ffecf06d11cefe8cc4e529c6e4dee 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-4498,7
+4498,7
@@
class ExceptClauseNode(Node):
code.putln("/*except:*/ {")
if not getattr(self.body, 'stats', True) and \
- self.excinfo_target is None and self.target is None
)
:
+ self.excinfo_target is None and self.target is None:
# most simple case: no exception variable, empty body (pass)
# => reset the exception state, done
code.putln("PyErr_Restore(0,0,0);")