diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-09-07 12:06:34 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-09-10 15:43:53 +0100 |
commit | 5d6228b85e174dee8abcc4c206a1e9034242c6c6 (patch) | |
tree | b0a604f4323d6a85472635556f66700e612fcb98 /po/pl.po | |
parent | d9810206cb4d56825ed4de98b6ae636461d59bbd (diff) | |
download | sos-5d6228b85e174dee8abcc4c206a1e9034242c6c6.tar.gz |
[sosreport] ensure ThreadPool exceptions are raised
The ThreadPoolExecutor does not raise exceptions to the parent
thread immediately: it stores them in-line in the pool's results
list, and raises them to the caller on acccess to that slot in
the results iterator.
Make sure that these exceptions are handled by iterating over all
results and asserting that they are non-None (in practice, this
code is never executed since the resulting raise will trap to an
exception handler, but it is less confusing than a bare 'pass').
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po/pl.po')
0 files changed, 0 insertions, 0 deletions