changeset 493:33222c54d2af

remove uses of twisted.internet.defer.returnValue This function has been deprecated in Twisted 24.7.0.
author Povilas Kanapickas <povilas@radix.lt>
date Wed, 11 Dec 2024 01:19:46 +0200
parents 0296a2121504
children 468b7cd6c344
files sat_pubsub/backend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_pubsub/backend.py	Thu Nov 21 11:10:36 2024 +0100
+++ b/sat_pubsub/backend.py	Wed Dec 11 01:19:46 2024 +0200
@@ -1048,7 +1048,7 @@
         else:
             raise Exception("Unknown access_model")
 
-        defer.returnValue((affiliation, owner, roster, access_model))
+        return (affiliation, owner, roster, access_model)
 
     async def getItemsIds(
         self,