diff sat/plugins/plugin_comp_file_sharing.py @ 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 02e5e2385a30
children 09f5ac48ffe3
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(