import-checker: force 'logging' to stdlib module
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 23 Dec 2015 12:27:24 -0800
changeset 27520 d8f132f047d6
parent 27519 f4517c88ab81
child 27521 b1adf32b0605
import-checker: force 'logging' to stdlib module Not sure why this isn't getting picked up. Perhaps we're not handling stdlib paths that have sub-modules? Something to investigate for another day...
contrib/import-checker.py
--- a/contrib/import-checker.py	Wed Dec 23 22:48:48 2015 +0900
+++ b/contrib/import-checker.py	Wed Dec 23 12:27:24 2015 -0800
@@ -180,7 +180,7 @@
     for m in ['msvcrt', '_winreg']:
         yield m
     # These get missed too
-    for m in 'ctypes', 'ctypes.util', 'email', 'multiprocessing':
+    for m in 'ctypes', 'ctypes.util', 'email', 'logging', 'multiprocessing':
         yield m
     yield 'builtins' # python3 only
     for m in 'fcntl', 'grp', 'pwd', 'termios':  # Unix only