Mercurial > libervia-backend
comparison libervia/backend/plugins/plugin_import.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 |
---|---|
257 options, | 257 options, |
258 None, | 258 None, |
259 pubsub_service, | 259 pubsub_service, |
260 pubsub_node, | 260 pubsub_node, |
261 ) | 261 ) |
262 defer.returnValue(progress_id) | 262 return progress_id |
263 | 263 |
264 @defer.inlineCallbacks | 264 @defer.inlineCallbacks |
265 def recursive_import( | 265 def recursive_import( |
266 self, | 266 self, |
267 client, | 267 client, |