1
0
forked from VimPlug/jedi

forget to check if a method exists, fixes #44

This commit is contained in:
David Halter
2012-11-11 02:56:05 +01:00
parent 3e631f7980
commit 9aaaffd56e

View File

@@ -668,6 +668,7 @@ class Execution(Executable):
elif var_arg[0] == '**':
arrays = follow_call_list([var_arg[1:]])
for array in arrays:
if hasattr(array, 'get_contents'):
for key, field in array.get_contents():
# Take the first index.
if isinstance(key, parsing.Name):