import-checker: ensure multiprocessing is treated as from stdlib
authorAugie Fackler <augie@google.com>
Mon, 24 Aug 2015 10:09:00 -0400
changeset 26062 7154a4a08b96
parent 26061 be8a4e0800d8
child 26063 d29859cfcfc2
import-checker: ensure multiprocessing is treated as from stdlib On my linux machines multiprocessing appears to defeat the logic in import-checker to detect stdlib modules. Since we now only use versions of Python which ship with multiprocessing, let's just whitelist the module.
contrib/import-checker.py
--- a/contrib/import-checker.py	Thu Aug 20 17:23:21 2015 -0700
+++ b/contrib/import-checker.py	Mon Aug 24 10:09:00 2015 -0400
@@ -164,7 +164,7 @@
     for m in ['msvcrt', '_winreg']:
         yield m
     # These get missed too
-    for m in 'ctypes', 'email':
+    for m in 'ctypes', 'email', 'multiprocessing':
         yield m
     yield 'builtins' # python3 only
     for m in 'fcntl', 'grp', 'pwd', 'termios':  # Unix only