# HG changeset patch # User Goffi # Date 1636132284 -3600 # Node ID 6d298323eed288ee0164bb8eaa0df5ebf684ef15 # Parent cfc06915de1543cb358c77ed89c0f5a66c9cba17 plugin comp file sharing: don't use Deferred in return value diff -r cfc06915de15 -r 6d298323eed2 sat/plugins/plugin_comp_file_sharing.py --- 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(