diff options
author | Ćukasz Rogalski <rogalski.91@gmail.com> | 2017-02-05 13:57:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-05 13:57:40 +0100 |
commit | 9ee1f58ba91a52148829a781f3bfcff6f659139e (patch) | |
tree | 383c4fc78b03fe5b06c9571f552ad9ae124d9e47 /astroid/builder.py | |
parent | 3e6ef99928137a396a6ee9c75351f4194b2471e8 (diff) | |
download | astroid-git-9ee1f58ba91a52148829a781f3bfcff6f659139e.tar.gz |
Revert "Fix namespace population when wildcard import is used (#397)" (#398)
This reverts commit 3e6ef99928137a396a6ee9c75351f4194b2471e8.
Diffstat (limited to 'astroid/builder.py')
-rw-r--r-- | astroid/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/builder.py b/astroid/builder.py index 6dc214cb..ee3b7e25 100644 --- a/astroid/builder.py +++ b/astroid/builder.py @@ -214,7 +214,7 @@ class AstroidBuilder(raw_building.InspectBuilder): imported = node.do_import_module() except exceptions.AstroidBuildingError: continue - for name in imported.wildcard_import_names(): + for name in imported.public_names(): node.parent.set_local(name, node) sort_locals(node.parent.scope().locals[name]) else: |