changeset 3701:6d298323eed2

plugin comp file sharing: don't use Deferred in return value
author Goffi <goffi@goffi.org>
date Fri, 05 Nov 2021 18:11:24 +0100
parents cfc06915de15
children 6f9f4674f997
files sat/plugins/plugin_comp_file_sharing.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_comp_file_sharing.py	Fri Nov 05 18:11:18 2021 +0100
+++ b/sat/plugins/plugin_comp_file_sharing.py	Fri Nov 05 18:11:24 2021 +0100
@@ -544,7 +544,7 @@
         self._f.openFileWrite(
             client, file_tmp_path, transfer_data, file_data, stream_object
         )
-        return False, defer.succeed(True)
+        return False, True
 
     @defer.inlineCallbacks
     def _retrieveFiles(