Correction for Flake8 func rename in log.py
Broke the retrieval of logging lines.
This commit is contained in:
parent
b19845bf93
commit
3b22dcadc9
|
@ -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"):
|
||||||
|
|
Loading…
Reference in New Issue