From: Stefan Behnel Date: Sat, 13 Mar 2010 10:03:28 +0000 (+0100) Subject: fix X-Git-Tag: 0.13.beta0~308 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7fb1e21bde62f2d88ace8ebf3a405dba9366eac4;p=cython.git fix --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 2f2ee886..fb647d9d 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -4497,7 +4497,7 @@ class ExceptClauseNode(Node): else: code.putln("/*except:*/ {") - if not getattr(self.body, 'stats', True) and + if not getattr(self.body, 'stats', True) and \ self.excinfo_target is None and self.target is None): # most simple case: no exception variable, empty body (pass) # => reset the exception state, done