mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 16:06:52 +00:00
`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.
1 line
97 B
Text
1 line
97 B
Text
Remove some remaining uses of `twisted.internet.defer.returnValue`. Contributed by Colin Watson.
|