summaryrefslogtreecommitdiff
path: root/Lib/logging
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-03-20 09:16:38 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-03-20 09:16:38 +0100
commit6d60a188ebe41a391cc562ec0084e8a73f7400aa (patch)
treef347ffa2323185aa095eb5ac86d7b0c252635010 /Lib/logging
parent1578d17dc0ad7a0179045aefeb2dfd8c67b3720b (diff)
downloadcpython-6d60a188ebe41a391cc562ec0084e8a73f7400aa.tar.gz
Issue #20976: pyflakes: Remove unused imports
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/config.py2
-rw-r--r--Lib/logging/handlers.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py
index b882a62ab3..10187e817f 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 b2e7d445cf..f547d17ca2 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: