1
0
forked from VimPlug/jedi

Remove Import.alias_name_part, it was simply an alias for another lookup.

This commit is contained in:
Dave Halter
2014-09-26 16:32:36 +02:00
parent 03e01631cc
commit 27444ed64d
3 changed files with 3 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ def get_on_import_stmt(evaluator, user_context, user_stmt, is_like_search=False)
kill_count = -1
cur_name_part = None
for name in import_names:
if user_stmt.alias_name_part == name:
if user_stmt.alias == name:
continue
if name.end_pos >= user_context.position: