forked from VimPlug/jedi
forget to check if a method exists, fixes #44
This commit is contained in:
@@ -668,6 +668,7 @@ class Execution(Executable):
|
|||||||
elif var_arg[0] == '**':
|
elif var_arg[0] == '**':
|
||||||
arrays = follow_call_list([var_arg[1:]])
|
arrays = follow_call_list([var_arg[1:]])
|
||||||
for array in arrays:
|
for array in arrays:
|
||||||
|
if hasattr(array, 'get_contents'):
|
||||||
for key, field in array.get_contents():
|
for key, field in array.get_contents():
|
||||||
# Take the first index.
|
# Take the first index.
|
||||||
if isinstance(key, parsing.Name):
|
if isinstance(key, parsing.Name):
|
||||||
|
|||||||
Reference in New Issue
Block a user