added thirdparty testing (test/completion/thirdparty/) and fixed an AttributeError

This commit is contained in:
David Halter
2012-06-25 21:05:10 +02:00
parent 2f70c67ada
commit e7a579ce31
3 changed files with 31 additions and 12 deletions

View File

@@ -207,7 +207,7 @@ class Instance(Executable):
return res
def __getattr__(self, name):
if name not in ['line_nr', 'indent', 'name']:
if name not in ['line_nr', 'indent', 'name', 'get_imports']:
raise AttributeError("Don't touch this (%s)!" % name)
return getattr(self.base, name)