fix gpg user rundir check (#20705)

This commit is contained in:
eugeneswalker 2021-01-06 12:29:00 -08:00 committed by GitHub
parent e2f2417a31
commit 6157854de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ def user_run_dir(self):
# "file-name-too-long" errors in gpg.
try:
has_suitable_gpgconf = bool(_GpgConstants.gpgconf_string)
has_suitable_gpgconf = bool(GpgConstants.gpgconf_string)
except SpackGPGError:
has_suitable_gpgconf = False