From: Stefan Behnel Date: Sat, 13 Mar 2010 10:07:44 +0000 (+0100) Subject: fix again X-Git-Tag: 0.13.beta0~307 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f3cd4fd66c9ed359031f4b52bfbb17fe0a8750c;p=cython.git fix again --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index fb647d9d..e60614c4 100644 --- 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);")