GPG.encrypt() should now be called with each recipient as a single parameter.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-05-27 09:04:15 +00:00
parent 7c9c00a957
commit bfbb189459
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 1 additions and 1 deletions

View File

@ -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