Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
4340:ea72364131d5 | 4341:e9971a4b0627 |
---|---|
249 for ticket in tickets_xmlui: | 249 for ticket in tickets_xmlui: |
250 request_type = ticket.named_widgets[FIELD_DATA_TYPE].value | 250 request_type = ticket.named_widgets[FIELD_DATA_TYPE].value |
251 request_data = ticket.named_widgets[FIELD_DATA].value | 251 request_data = ticket.named_widgets[FIELD_DATA].value |
252 parsed_data = yield self.parse_data(request_type, request_data) | 252 parsed_data = yield self.parse_data(request_type, request_data) |
253 parsed_patches.append(parsed_data) | 253 parsed_patches.append(parsed_data) |
254 defer.returnValue((tickets_xmlui, metadata, parsed_patches)) | 254 return (tickets_xmlui, metadata, parsed_patches) |
255 | 255 |
256 def _set( | 256 def _set( |
257 self, | 257 self, |
258 service, | 258 service, |
259 node, | 259 node, |