contrib/import-checker.py
changeset 27273 5d5b98346fc2
parent 27272 69308357ecd1
child 27508 b2226faead3f
--- a/contrib/import-checker.py	Sun Dec 06 14:18:19 2015 +0900
+++ b/contrib/import-checker.py	Sun Dec 06 14:28:35 2015 +0900
@@ -453,7 +453,8 @@
                     symbols = [n.name for n in node.names]
 
                 if symbols and fullname not in allowsymbolimports:
-                    yield msg('direct symbol import from %s', fullname)
+                    yield msg('direct symbol import %s from %s',
+                              ', '.join(symbols), fullname)
 
                 if symbols and seennonsymbolrelative:
                     yield msg('symbol import follows non-symbol import: %s',