fixed getattr with array call

This commit is contained in:
David Halter committed 2013-07-23 14:30:18 +02:00
1 parent db17c27bb8
commit d78b72b046
2 files changed
+5

No files matched your search

+3
View File
@@ -414,6 +414,9 @@ class Execution(Executable):
continue
for arr_name in names:
if not isinstance(arr_name, Instance):
debug.warning('getattr called without str')
continue
if len(arr_name.var_args) != 1:
debug.warning('jedi getattr is too simple')
key = arr_name.var_args[0]