diff options
author | drebs <drebs@leap.se> | 2013-05-16 12:09:27 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-05-16 17:12:45 -0300 |
commit | 92ab86bf33b57e40745d4af80e4bc2aa7fc4ac89 (patch) | |
tree | 3e206d425bb5baf75d4c4c648d41e213bd0830c4 /src/leap/common/keymanager/errors.py | |
parent | d4eaa23280da258eb43baf345b1118a91c6d47fd (diff) |
Fix pep8 style.
Diffstat (limited to 'src/leap/common/keymanager/errors.py')
-rw-r--r-- | src/leap/common/keymanager/errors.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/common/keymanager/errors.py b/src/leap/common/keymanager/errors.py index f712975..d6802f0 100644 --- a/src/leap/common/keymanager/errors.py +++ b/src/leap/common/keymanager/errors.py @@ -42,6 +42,7 @@ class KeyAttributesDiffer(Exception): """ pass + class NoPasswordGiven(Exception): """ Raised when trying to perform some action that needs a password without @@ -49,24 +50,28 @@ class NoPasswordGiven(Exception): """ pass + class InvalidSignature(Exception): """ Raised when signature could not be verified. """ pass + class EncryptionFailed(Exception): """ Raised upon failures of encryption. """ pass + class DecryptionFailed(Exception): """ Raised upon failures of decryption. """ pass + class SignFailed(Exception): """ Raised when failed to sign. |