# HG changeset patch # User Gregory Szorc # Date 1450902444 28800 # Node ID d8f132f047d61ea41d5a4a9d5512d56315af2aa4 # Parent f4517c88ab81354b31852dd1b914f6aeeb7f69bb 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... diff -r f4517c88ab81 -r d8f132f047d6 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