From 2f3cd4fd66c9ed359031f4b52bfbb17fe0a8750c Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 13 Mar 2010 11:07:44 +0100 Subject: [PATCH] fix again --- Cython/Compiler/Nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);") -- 2.26.2