From ea2e3e4925b69cf79ddcfacfa841f0a0e36c7345 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic <legallic@crans.org> Date: Mon, 19 Aug 2013 15:27:13 +0200 Subject: [PATCH] Fix de --recrypt-files --- client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.py b/client.py index e33e0af..4a6967f 100755 --- a/client.py +++ b/client.py @@ -789,11 +789,11 @@ def recrypt_files(options): to_put = [{'filename' : f['filename'], 'roles' : f['roles'], 'contents' : encrypt(options, f['roles'], decrypt(options, f['contents']))} - for f in files] + for [success, f] in files] if to_put: if not options.quiet: print((u"Rechiffrement de %s" % (", ".join([f['filename'] for f in to_put]))).encode("utf-8")) - results = put_files(to_put) + results = put_files(options, to_put) # On affiche les messages de retour if not options.quiet: for i in range(len(results)): -- GitLab