Mercurial > hg-stable
changeset 27520:d8f132f047d6
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...
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 23 Dec 2015 12:27:24 -0800 |
parents | f4517c88ab81 |
children | b1adf32b0605 |
files | contrib/import-checker.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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