abg/dbsake

sandbox suppresses error messages during downloads

Closed this issue · 1 comments

abg commented

Noticed this due to a gpg verification failure, where no error message was output. This can be seen with the following command:

# ./dbsake sandbox -m 5.1.70

This seems to be caused by incorrectly reraising the exception in contextlib.nested(). This is a dbsake bug, as this code was incorrectly modified when attempting to support both python2 and python3.

The intention is to replace that ugliness with ExitStack() instead, but care needs to be taken to ensure both python2 and python3 support.

abg commented

The conversion to use ExitStack() has been done in 2.1.0. Closing this issue.