add memoize decorator to an Instance method, fixes RecursionError of #239

This commit is contained in:
David Halter committed 2013-07-10 10:23:05 +02:00
1 parent 7509c239ec
commit 6cb021f4ae
4 files changed
+19 -1

No files matched your search

+1
View File
@@ -84,6 +84,7 @@ class Instance(use_metaclass(cache.CachedMetaClass, Executable)):
except IndexError:
return None
@cache.memoize_default([])
def get_self_properties(self):
def add_self_dot_name(name):
n = copy.copy(name)