Fix double "raise"

This commit is contained in:
Jakub Warmuz 2014-11-29 13:05:54 +01:00
parent 73eb8f8546
commit c80f9bed97

View file

@ -694,8 +694,7 @@ class Client(object):
raise LetsEncryptClientError(
"The provided key is not a valid key")
except IOError:
raise raise LetsEncryptClientError(
"The provided key could not be read")
raise LetsEncryptClientError("The provided key could not be read")
# If CSR and key are provided, the key must be the same key used
# in the CSR.