1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-11 02:16:50 +00:00
Commit graph

1 commit

Author SHA1 Message Date
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