1
0
forked from VimPlug/jedi

Fix obvious UnboundLocalError.

This commit is contained in:
Dave Halter
2014-09-19 18:08:30 +02:00
parent 78bd775889
commit b26f51ded2

View File

@@ -99,6 +99,7 @@ def _paths_from_call_expression(module_path, call):
return
cmd = names[2]
exe = call.next
path = None
if cmd == 'insert' and len(exe) == 2:
path = _paths_from_insert(module_path, exe)
elif cmd == 'append' and len(exe) == 1: