diff options
author | Colin Watson <cjwatson@debian.org> | 2024-12-20 10:57:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-20 10:57:59 +0000 |
commit | d69c00b5a19ba45645665afa532421b25c74407a (patch) | |
tree | bda017e2da19ec213aaccd5d4fd8a95b297efaab /tests/util/test_stringutils.py | |
parent | Remove support for PostgreSQL 11 and 12 (#18034) (diff) | |
download | synapse-d69c00b5a19ba45645665afa532421b25c74407a.tar.xz |
Stop using twisted.internet.defer.returnValue (#18020)
`defer.returnValue` was only needed in Python 2; in Python 3, a simple `return` is fine. `twisted.internet.defer.returnValue` is deprecated as of Twisted 24.7.0. Most uses of `returnValue` in synapse were removed a while back; this cleans up some remaining bits.
Diffstat (limited to 'tests/util/test_stringutils.py')
0 files changed, 0 insertions, 0 deletions