aboutsummaryrefslogtreecommitdiffstats
path: root/testing/deluge/10-python38-logging.patch
blob: a3c9ad4e99f5c2813c4e8b3f44bb279ffbd5f667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://dev.deluge-torrent.org/changeset/351664ec071daa04
Slated for 2.0.4 release
diff --git a/deluge/log.py b/deluge/log.py
index 75e8308b5..0f9877fdb 100644
--- a/deluge/log.py
+++ b/deluge/log.py
@@ -86,7 +86,7 @@ def critical(self, msg, *args, **kwargs):
     def exception(self, msg, *args, **kwargs):
         yield LoggingLoggerClass.exception(self, msg, *args, **kwargs)

-    def findCaller(self, stack_info=False):  # NOQA: N802
+    def findCaller(self, *args, **kwargs):  # NOQA: N802
         f = logging.currentframe().f_back
         rv = '(unknown file)', 0, '(unknown function)'
         while hasattr(f, 'f_code'):