Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/portage/gpg.py: use temporary gpg out file instead of /dev/null
GnuPG removes the --output file on failure. Removing /dev/null breaks all kinds of things. So lets use a temporary file for the output instead. If the file already exists then we remove it to prevent GnuPG from complaining about the file already existing and asking us if we want to choose a different --output file. Closes: https://bugs.gentoo.org/912808 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
- Loading branch information