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

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