diff libervia/backend/plugins/plugin_comp_file_sharing_management.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 627f872bc16e
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_comp_file_sharing_management.py	Tue Dec 03 00:53:18 2024 +0100
+++ b/libervia/backend/plugins/plugin_comp_file_sharing_management.py	Wed Dec 11 01:17:09 2024 +0200
@@ -130,7 +130,7 @@
 
         workflow will be interrupted with an error note
         @param reason(unicode): reason of the error
-        @return (tuple): arguments to use in defer.returnValue
+        @return (tuple): value to return
         """
         status = self._c.STATUS.COMPLETED
         payload = None
@@ -140,7 +140,7 @@
     def _get_root_args(self):
         """Create the form to select the file to use
 
-        @return (tuple): arguments to use in defer.returnValue
+        @return (tuple): value to return
         """
         status = self._c.STATUS.EXECUTING
         form = data_form.Form(