summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-12-06 06:30:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-12-06 06:30:26 (GMT)
commit5cc5493c724016c04ff1eb7cdc5f49775ec383a1 (patch)
treeb6ffdf94db36404de67022df0cef568541ca71ec
parent8b5528782a6d26da88a5eb1d6e58dbc57fc08244 (diff)
downloadcpython-5cc5493c724016c04ff1eb7cdc5f49775ec383a1.zip
cpython-5cc5493c724016c04ff1eb7cdc5f49775ec383a1.tar.gz
cpython-5cc5493c724016c04ff1eb7cdc5f49775ec383a1.tar.bz2
remove unused logger from BaseFix
-rw-r--r--Lib/lib2to3/fixer_base.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixer_base.py b/Lib/lib2to3/fixer_base.py
index d437b96..2f50ad3 100644
--- a/Lib/lib2to3/fixer_base.py
+++ b/Lib/lib2to3/fixer_base.py
@@ -4,7 +4,6 @@
"""Base class for fixers (optional, but recommended)."""
# Python imports
-import logging
import itertools
# Local imports
@@ -75,7 +74,6 @@ class BaseFix(object):
The main refactoring tool should call this.
"""
self.filename = filename
- self.logger = logging.getLogger(filename)
def match(self, node):
"""Returns match for a given parse tree node.