diff options
author | drebs <drebs@leap.se> | 2013-08-09 00:34:00 +0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-08-09 00:34:00 +0200 |
commit | 3e9aa2257a292bd7ce26896dd824c57d640058e4 (patch) | |
tree | e4c03c035a1042d9185fdc92fc64c262384c66a9 /keymanager/src | |
parent | 0195968571222d6852eb03a5dec312b5a208f4d6 (diff) |
Fix error in encryption failure logging method.
Diffstat (limited to 'keymanager/src')
-rw-r--r-- | keymanager/src/leap/keymanager/openpgp.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/keymanager/src/leap/keymanager/openpgp.py b/keymanager/src/leap/keymanager/openpgp.py index 1e78c703..aa04ed09 100644 --- a/keymanager/src/leap/keymanager/openpgp.py +++ b/keymanager/src/leap/keymanager/openpgp.py @@ -433,9 +433,7 @@ class OpenPGPScheme(EncryptionScheme): logger.debug("%s" % (stderr,)) if getattr(result, 'ok', None) is not True: raise errors.EncryptionDecryptionFailed( - 'Failed to encrypt/decrypt in %s: %s' % ( - this.encrypt, - stderr)) + 'Failed to encrypt/decrypt: %s' % stderr) def encrypt(self, data, pubkey, passphrase=None, sign=None): """ |