gpg: Confirmed that this error happens on UNIX too.

This commit is contained in:
Valentin Lorentz 2015-05-19 16:40:15 +02:00
parent 5952b486f5
commit dfb68be410

View File

@ -47,7 +47,7 @@ try:
except TypeError:
# This is the 'gnupg' library, not 'python-gnupg'.
gnupg = None
except OSError: # WindowsError?
except OSError:
gnupg = None
log.error('Cannot use GPG. python-gnupg is installed but cannot '
'find the gnupg executable.')