dynamic arrays in executions and instances should now work fully, some things got simplified, now it works.

This commit is contained in:
David Halter
2012-08-27 11:34:37 +02:00
parent 0d9a6282e7
commit 33e5850105
7 changed files with 67 additions and 28 deletions

View File

@@ -80,7 +80,7 @@ class Simple(Base):
def get_parent_until(self, *classes):
""" Takes always the parent, until one class (not a Class) """
scope = self
while not (scope.parent() is None or scope.__class__ in classes):
while not (scope.parent() is None or scope.isinstance(*classes)):
scope = scope.parent()
return scope