Commit c2921cf5 authored by Stefan Behnel's avatar Stefan Behnel

crash work-around

parent 198a902f
...@@ -33,7 +33,7 @@ class BasicVisitor(object): ...@@ -33,7 +33,7 @@ class BasicVisitor(object):
pass pass
else: else:
print type(self), type(obj) print type(self), type(obj)
if hasattr(self, 'access_path'): if hasattr(self, 'access_path') and self.access_path:
print self.access_path print self.access_path
print self.access_path[-1][0].pos print self.access_path[-1][0].pos
print self.access_path[-1][0].__dict__ print self.access_path[-1][0].__dict__
......
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