From: Benjamin Peterson Date: Tue, 6 Dec 2016 06:30:26 +0000 (-0800) Subject: remove unused logger from BaseFix X-Git-Tag: v2.7.14rc1~342 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cc5493c724016c04ff1eb7cdc5f49775ec383a1;p=thirdparty%2FPython%2Fcpython.git remove unused logger from BaseFix --- diff --git a/Lib/lib2to3/fixer_base.py b/Lib/lib2to3/fixer_base.py index d437b96a29d6..2f50ad366939 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.