From 1e5f7b35420e4154cb6dc71c19b0172c2aead80d Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Mon, 18 Oct 2021 15:52:53 +0200 Subject: Don't print error output in the test whether gpgconf works (#26682) --- lib/spack/spack/util/gpg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/spack/util/gpg.py b/lib/spack/spack/util/gpg.py index ddc69c9579..87059d7d34 100644 --- a/lib/spack/spack/util/gpg.py +++ b/lib/spack/spack/util/gpg.py @@ -344,7 +344,7 @@ def _gpgconf(): # ensure that the gpgconf we found can run "gpgconf --create-socketdir" try: - exe('--dry-run', '--create-socketdir') + exe('--dry-run', '--create-socketdir', output=os.devnull, error=os.devnull) except spack.util.executable.ProcessError: # no dice exe = None -- cgit v1.2.3-60-g2f50