From 3b22dcadc93f52223a612022fb5da574564a48a7 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 23 Sep 2014 10:00:19 +0100 Subject: [PATCH] Correction for Flake8 func rename in log.py Broke the retrieval of logging lines. --- deluge/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/log.py b/deluge/log.py index 1f6405c8a..68d56ba3c 100644 --- a/deluge/log.py +++ b/deluge/log.py @@ -79,7 +79,7 @@ class Logging(LoggingLoggerClass): def 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 rv = "(unknown file)", 0, "(unknown function)" while hasattr(f, "f_code"):