[Python-checkins] cpython (2.7): remove unused logger from BaseFix
benjamin.peterson
python-checkins at python.org
Tue Dec 6 01:30:32 EST 2016
https://hg.python.org/cpython/rev/fdf2e778b88b
changeset: 105470:fdf2e778b88b
branch: 2.7
parent: 105453:baf972859ec5
user: Benjamin Peterson <benjamin at python.org>
date: Mon Dec 05 22:30:26 2016 -0800
summary:
remove unused logger from BaseFix
files:
Lib/lib2to3/fixer_base.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/Lib/lib2to3/fixer_base.py b/Lib/lib2to3/fixer_base.py
--- 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 @@
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.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list