From bfbb189459b7e97b0d2e7c59c684f42b35afd9f4 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Mon, 27 May 2013 09:04:15 +0000 Subject: [PATCH] GPG.encrypt() should now be called with each recipient as a single parameter. --- src/gnupg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnupg.py b/src/gnupg.py index a3f8523..3074d97 100644 --- a/src/gnupg.py +++ b/src/gnupg.py @@ -1509,7 +1509,7 @@ generate keys. Please see log.debug('GPG.encrypt_file(): Result: %r', result.data) return result - def encrypt(self, data, recipients, **kwargs): + def encrypt(self, data, *recipients, **kwargs): """Encrypt the message contained in ``data`` to ``recipients``. >>> import shutil