Commit 2f3cd4fd authored by Stefan Behnel's avatar Stefan Behnel

fix again

parent 7fb1e21b
......@@ -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);")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment