encrypt must return 2 values.

This commit is contained in:
Yann Leboulanger 2006-12-14 10:56:14 +00:00
parent 94d14d6a5c
commit 2287625fdf
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ else:
def encrypt(self, str, recipients):
if not USE_GPG:
return str
return str, 'GnuPG not usable'
self.options.recipients = recipients # a list!
proc = self.run(['--encrypt'], create_fhs=['stdin', 'stdout',