Permalink
Browse files

star imports of object imports were ignored, fixes #59

  • Loading branch information...
davidhalter committed Nov 13, 2012
1 parent ccec770 commit 6a98aaf65d906abfd8b748139ba74790468f1a32
Showing with 3 additions and 1 deletion.
  1. +3 −1 jedi/imports.py
View
@@ -161,7 +161,9 @@ def follow(self, is_goto=False):
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():

0 comments on commit 6a98aaf

Please sign in to comment.