diff 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
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_import.py	Tue Dec 03 00:53:18 2024 +0100
+++ b/libervia/backend/plugins/plugin_import.py	Wed Dec 11 01:17:09 2024 +0200
@@ -259,7 +259,7 @@
             pubsub_service,
             pubsub_node,
         )
-        defer.returnValue(progress_id)
+        return progress_id
 
     @defer.inlineCallbacks
     def recursive_import(