mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
Correction for Flake8 func rename in log.py
Broke the retrieval of logging lines.
This commit is contained in:
parent
b19845bf93
commit
3b22dcadc9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue