Fix gpg binary path validation.
parent
678d36ea62
commit
2c0c826c0f
|
@ -271,6 +271,8 @@ def _find_binary(binary=None):
|
|||
except IndexError as ie:
|
||||
log.info("Could not determine absolute path of binary: '%s'"
|
||||
% binary)
|
||||
elif os.access(binary, os.X_OK):
|
||||
found = binary
|
||||
if found is None:
|
||||
try: found = _which('gpg')[0]
|
||||
except IndexError as ie:
|
||||
|
|
Loading…
Reference in New Issue