# HG changeset patch # User Goffi # Date 1634832736 -7200 # Node ID d993e8b0fd6072f37a5d4a6e10de9ae2798bc8ca # Parent ed9e12701e0f1c498813f8e748701e4e4d66ac85 psql: return Deferred is not options field is specified in `setConfiguration`: fix 391 diff -r ed9e12701e0f -r d993e8b0fd60 sat_pubsub/pgsql_storage.py --- a/sat_pubsub/pgsql_storage.py Thu Oct 21 17:31:01 2021 +0200 +++ b/sat_pubsub/pgsql_storage.py Thu Oct 21 18:12:16 2021 +0200 @@ -598,7 +598,7 @@ del options.fields[option] if not options.fields: - return + return defer.succeed(None) if options.get(const.OPT_MAX_ITEMS) == "max": # XXX: "max" is default value for config we must convert