fix gpg user rundir check (#20705)
This commit is contained in:
parent
e2f2417a31
commit
6157854de6
@ -189,7 +189,7 @@ def user_run_dir(self):
|
|||||||
# "file-name-too-long" errors in gpg.
|
# "file-name-too-long" errors in gpg.
|
||||||
|
|
||||||
try:
|
try:
|
||||||
has_suitable_gpgconf = bool(_GpgConstants.gpgconf_string)
|
has_suitable_gpgconf = bool(GpgConstants.gpgconf_string)
|
||||||
except SpackGPGError:
|
except SpackGPGError:
|
||||||
has_suitable_gpgconf = False
|
has_suitable_gpgconf = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user