diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2021-07-25 11:16:03 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-07-25 13:28:18 +0100 |
commit | f16afc59ba84d6535ed90d90119cc4e7012a504d (patch) | |
tree | 5867b7450bf26257b314be338e2745221b767021 /deluge/i18n/util.py | |
parent | e5388048a95df6ba38d406043ec068928bd3dbcf (diff) | |
download | deluge-f16afc59ba84d6535ed90d90119cc4e7012a504d.tar.gz deluge-f16afc59ba84d6535ed90d90119cc4e7012a504d.tar.bz2 deluge-f16afc59ba84d6535ed90d90119cc4e7012a504d.zip |
Ignore TypeError with custom Twisted logging
The modification of Python logging _findCaller args in Python 3.8 raises
TypeError in our custom Twisted Logger with Twisted <= 19 versions.
The actual issue for the custom logger was fixed in 18.9 so added a
version check to avoid usage.
Refs:
- https://twistedmatrix.com/trac/ticket/7927
- https://github.com/twisted/twisted/commit/6b894744e4d2439c1a4436d1e0e0b2a6cdff68e4
Diffstat (limited to 'deluge/i18n/util.py')
0 files changed, 0 insertions, 0 deletions