summaryrefslogtreecommitdiff
path: root/canonicalize
diff options
context:
space:
mode:
Diffstat (limited to 'canonicalize')
-rw-r--r--canonicalize/astTools.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/canonicalize/astTools.py b/canonicalize/astTools.py
index b84b2c5..f644316 100644
--- a/canonicalize/astTools.py
+++ b/canonicalize/astTools.py
@@ -32,6 +32,8 @@ def importedName(id, importList):
if imp.module in supportedLibraries:
libMap = libraryMap[imp.module]
for name in imp.names:
+ if name.name == '*' and id in libMap:
+ return True
if hasattr(name, "asname") and name.asname != None:
if id == name.asname:
return True