Commit 565253cd authored by Stefan Behnel's avatar Stefan Behnel

warnings aren't raised, so catching CompileError is enough

parent 75c42021
......@@ -147,7 +147,7 @@ class TreeVisitor(BasicVisitor):
self.access_path.append((parent, attrname, idx))
try:
result = self.visit(child)
except (Errors.CompileWarning, Errors.CompileError):
except Errors.CompileError:
raise
except Exception, e:
import sys
......
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