mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 20:25:28 +03:00
Closes https://gitlab.alpinelinux.org/alpine/aports/issues/11313 Backport patch from https://dev.deluge-torrent.org/ticket/3327
15 lines
634 B
Diff
15 lines
634 B
Diff
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'):
|