1
0
forked from VimPlug/jedi

star imports of object imports were ignored, fixes #59

This commit is contained in:
David Halter
2012-11-13 11:22:35 +01:00
parent ccec77025b
commit 6a98aaf65d

View File

@@ -161,7 +161,9 @@ class ImportPath(object):
evaluate.get_scopes_for_name(s, rest[0], is_goto=True)
for s in scopes)
else:
scopes = evaluate.follow_path(iter(rest), scope)
scopes = itertools.chain.from_iterable(
evaluate.follow_path(iter(rest), s)
for s in scopes)
scopes = list(scopes)
if self.is_nested_import():