Correction for Flake8 func rename in log.py

Broke the retrieval of logging lines.
This commit is contained in:
Calum Lind 2014-09-23 10:00:19 +01:00
parent b19845bf93
commit 3b22dcadc9
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Logging(LoggingLoggerClass):
def exception(self, msg, *args, **kwargs): def exception(self, msg, *args, **kwargs):
yield LoggingLoggerClass.exception(self, msg, *args, **kwargs) yield LoggingLoggerClass.exception(self, msg, *args, **kwargs)
def find_caller(self): def findCaller(self): # NOQA
f = logging.currentframe().f_back f = logging.currentframe().f_back
rv = "(unknown file)", 0, "(unknown function)" rv = "(unknown file)", 0, "(unknown function)"
while hasattr(f, "f_code"): while hasattr(f, "f_code"):