GPG.encrypt() should now be called with each recipient as a single parameter.
parent
7c9c00a957
commit
bfbb189459
|
@ -1509,7 +1509,7 @@ generate keys. Please see
|
||||||
log.debug('GPG.encrypt_file(): Result: %r', result.data)
|
log.debug('GPG.encrypt_file(): Result: %r', result.data)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def encrypt(self, data, recipients, **kwargs):
|
def encrypt(self, data, *recipients, **kwargs):
|
||||||
"""Encrypt the message contained in ``data`` to ``recipients``.
|
"""Encrypt the message contained in ``data`` to ``recipients``.
|
||||||
|
|
||||||
>>> import shutil
|
>>> import shutil
|
||||||
|
|
Loading…
Reference in New Issue