Mercurial > libervia-backend
diff libervia/backend/plugins/plugin_misc_merge_requests.py @ 4341:e9971a4b0627
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:17:09 +0200 |
parents | 0d7bb4df2343 |
children |
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_misc_merge_requests.py Tue Dec 03 00:53:18 2024 +0100 +++ b/libervia/backend/plugins/plugin_misc_merge_requests.py Wed Dec 11 01:17:09 2024 +0200 @@ -251,7 +251,7 @@ request_data = ticket.named_widgets[FIELD_DATA].value parsed_data = yield self.parse_data(request_type, request_data) parsed_patches.append(parsed_data) - defer.returnValue((tickets_xmlui, metadata, parsed_patches)) + return (tickets_xmlui, metadata, parsed_patches) def _set( self,