summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-08-09 00:34:00 +0200
committerdrebs <drebs@leap.se>2013-08-09 00:34:00 +0200
commit9a76c5df05d257693bb1e9e36da1961bc17ef025 (patch)
tree6fb450b0a9e34352c7ba58c66a7ad3a79a9e825e /src/leap
parent34c7971cfdfcd8c56903a17155da30a374d55d5d (diff)
Fix error in encryption failure logging method.
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/keymanager/openpgp.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/keymanager/openpgp.py b/src/leap/keymanager/openpgp.py
index 1e78c703..aa04ed09 100644
--- a/src/leap/keymanager/openpgp.py
+++ b/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):
"""