diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 08:16:38 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 08:16:38 (GMT) |
commit | 7fa767e517882f4d3503d168d3a4d4caad317752 (patch) | |
tree | cc4c73326ee706456b2c8de8530fed453e582b69 /Lib/logging | |
parent | 69b1e261fc703106b44095796d78ba6aacbbdb63 (diff) | |
download | cpython-7fa767e517882f4d3503d168d3a4d4caad317752.zip cpython-7fa767e517882f4d3503d168d3a4d4caad317752.tar.gz cpython-7fa767e517882f4d3503d168d3a4d4caad317752.tar.bz2 |
Issue #20976: pyflakes: Remove unused imports
Diffstat (limited to 'Lib/logging')
-rw-r--r-- | Lib/logging/config.py | 2 | ||||
-rw-r--r-- | Lib/logging/handlers.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index b882a62..10187e8 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -24,7 +24,7 @@ Copyright (C) 2001-2013 Vinay Sajip. All Rights Reserved. To use, simply 'import logging' and log away! """ -import sys, logging, logging.handlers, socket, struct, traceback, re +import sys, logging, logging.handlers, struct, traceback, re import io try: diff --git a/Lib/logging/handlers.py b/Lib/logging/handlers.py index b2e7d44..f547d17 100644 --- a/Lib/logging/handlers.py +++ b/Lib/logging/handlers.py @@ -23,8 +23,7 @@ Copyright (C) 2001-2013 Vinay Sajip. All Rights Reserved. To use, simply 'import logging.handlers' and log away! """ -import errno, logging, socket, os, pickle, struct, time, re -from codecs import BOM_UTF8 +import logging, socket, os, pickle, struct, time, re from stat import ST_DEV, ST_INO, ST_MTIME import queue try: |