Merge remote-tracking branch 'drebs/bug/3397-keymanager-should-support-bundled-gpg...
authorTomás Touceda <chiiph@leap.se>
Fri, 9 Aug 2013 00:47:35 +0000 (21:47 -0300)
committerTomás Touceda <chiiph@leap.se>
Fri, 9 Aug 2013 00:47:35 +0000 (21:47 -0300)
src/leap/keymanager/openpgp.py

index 1e78c70..aa04ed0 100644 (file)
@@ -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):
         """