1
0
forked from VimPlug/jedi

fix for tar_import stuff, that was caused by http://bugs.python.org/issue16791, may affect davidhalter/jedi-vim#56

This commit is contained in:
David Halter
2012-12-27 13:31:55 +01:00
parent f0dcbd8290
commit 31b335dc08
2 changed files with 4 additions and 2 deletions

View File

@@ -158,8 +158,7 @@ class ImportPath(parsing.Base):
return []
scopes = [scope]
scopes += itertools.chain.from_iterable(
remove_star_imports(s) for s in scopes)
scopes += remove_star_imports(scope)
# follow the rest of the import (not FS -> classes, functions)
if len(rest) > 1 or rest and self.is_like_search: