[Python-checkins] r85508 - sandbox/trunk/2to3/lib2to3/refactor.py
benjamin.peterson
python-checkins at python.org
Fri Oct 15 00:55:28 CEST 2010
Author: benjamin.peterson
Date: Fri Oct 15 00:55:28 2010
New Revision: 85508
Log:
typo
Modified:
sandbox/trunk/2to3/lib2to3/refactor.py
Modified: sandbox/trunk/2to3/lib2to3/refactor.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/refactor.py (original)
+++ sandbox/trunk/2to3/lib2to3/refactor.py Fri Oct 15 00:55:28 2010
@@ -596,7 +596,7 @@
try:
tree = self.parse_block(block, lineno, indent)
except Exception as err:
- if self.log.isEnabledFor(logging.DEBUG):
+ if self.logger.isEnabledFor(logging.DEBUG):
for line in block:
self.log_debug("Source: %s", line.rstrip(u"\n"))
self.log_error("Can't parse docstring in %s line %s: %s: %s",
More information about the Python-checkins
mailing list