summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2020-11-09 21:09:36 -0800
committerGitHub <noreply@github.com>2020-11-09 21:09:36 -0800
commit0183a51c6c570fa74015c1b542290c585b35e3a3 (patch)
tree86e545fcc09df7f012378d448a2678b767ffdff1 /lib
parent228a4d353c008e95b62c92080498a16410f53cff (diff)
downloadspack-0183a51c6c570fa74015c1b542290c585b35e3a3.tar.gz
spack-0183a51c6c570fa74015c1b542290c585b35e3a3.tar.bz2
spack-0183a51c6c570fa74015c1b542290c585b35e3a3.tar.xz
spack-0183a51c6c570fa74015c1b542290c585b35e3a3.zip
tutorial cmd: fix gpg invocation (#19829)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/tutorial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/tutorial.py b/lib/spack/spack/cmd/tutorial.py
index 2bfe866d22..2a32242c2d 100644
--- a/lib/spack/spack/cmd/tutorial.py
+++ b/lib/spack/spack/cmd/tutorial.py
@@ -73,7 +73,7 @@ def tutorial(parser, args):
tty.msg("Ensuring that we trust tutorial binaries",
"spack gpg trust %s" % tutorial_key)
- spack.util.gpg.trust(tutorial_key)
+ spack.util.gpg.Gpg().trust(tutorial_key)
# Note that checkout MUST be last. It changes Spack under our feet.
# If you don't put this last, you'll get import errors for the code