summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-10-18 15:52:53 +0200
committerGitHub <noreply@github.com>2021-10-18 15:52:53 +0200
commit1e5f7b35420e4154cb6dc71c19b0172c2aead80d (patch)
tree038cf72fae9a28b5045ab5c3f141320676104246 /lib
parent1156c7d0a9378e501873bc8f914ee289bdf81474 (diff)
downloadspack-1e5f7b35420e4154cb6dc71c19b0172c2aead80d.tar.gz
spack-1e5f7b35420e4154cb6dc71c19b0172c2aead80d.tar.bz2
spack-1e5f7b35420e4154cb6dc71c19b0172c2aead80d.tar.xz
spack-1e5f7b35420e4154cb6dc71c19b0172c2aead80d.zip
Don't print error output in the test whether gpgconf works (#26682)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/util/gpg.py2
1 files changed, 1 insertions, 1 deletions
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