fix a few more tracebacks

This commit is contained in:
Dave Halter committed 2014-01-09 17:54:40 +01:00
1 parent dfd9a779c3
commit 0234c1429b
2 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -379,7 +379,7 @@ class Function(use_metaclass(CachedMetaClass, pr.IsScope)):
return compiled.magic_function_class.get_defined_names()
def get_magic_function_scope(self):
return compiled.magic_function_class.get_defined_names()
return compiled.magic_function_class
def __getattr__(self, name):
return getattr(self.base_func, name)