Skip to content

RPCClient: Fix reraise_exceptions regression

I noticed that I introduced a regression in rDCOREf9619fb188c36dd9ce12cfcca493f3268e829172 which make the reraise_exceptions parameter of RPCClient not honored anymore (see https://jenkins.softwareheritage.org/job/DENV/job/tests/354/). Looks like I got mistaken by the for/else construct of Python.

That diff fixes that regression.

The use of reraise_exceptions is not covered by tests so I propose to land that diff to fix the errors and submit another one adding tests.


Migrated from D4542 (view on Phabricator)

Merge request reports