tutorial cmd: fix gpg invocation (#19829)

This commit is contained in:
Greg Becker 2020-11-09 21:09:36 -08:00 committed by GitHub
parent 228a4d353c
commit 0183a51c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ def tutorial(parser, args):
tty.msg("Ensuring that we trust tutorial binaries", tty.msg("Ensuring that we trust tutorial binaries",
"spack gpg trust %s" % tutorial_key) "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. # 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 # If you don't put this last, you'll get import errors for the code