1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-06 07:56:51 +00:00
synapse/contrib/cmdclient
Colin Watson d69c00b5a1
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.
2024-12-20 10:57:59 +00:00
..
console.py Stop using twisted.internet.defer.returnValue (#18020) 2024-12-20 10:57:59 +00:00
http.py Stop using twisted.internet.defer.returnValue (#18020) 2024-12-20 10:57:59 +00:00