Merge remote-tracking branch 'ttanner/binary-symlink' into develop

fix/83-SIG_SUBPACKET
Isis Lovecruft 2014-11-19 19:30:29 +00:00
commit 99e597f196
No known key found for this signature in database
GPG Key ID: 18C16EC5F9F1D673
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ def _find_binary(binary=None):
try:
assert os.path.isabs(found), "Path to gpg binary not absolute"
assert not os.path.islink(found), "Path to gpg binary is symlink"
found = os.path.realpath(found)
assert os.access(found, os.X_OK), "Lacking +x perms for gpg binary"
except (AssertionError, AttributeError) as ae:
log.error(str(ae))