changeset 26062:7154a4a08b96

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.
author Augie Fackler <augie@google.com>
date Mon, 24 Aug 2015 10:09:00 -0400
parents be8a4e0800d8
children d29859cfcfc2
files contrib/import-checker.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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