client: show real target roles

Actual new target roles were not correctly shown in the editor. (Although the
list of new recipients was correct).
This commit is contained in:
Daniel STAN 2014-01-28 11:58:49 +01:00
parent 934c410e39
commit 3b5c765dd3
No known key found for this signature in database
GPG key ID: 0FDD8CD144F6C104
2 changed files with 6 additions and 1 deletions

View file

@ -736,7 +736,7 @@ Enregistrez le fichier vide pour annuler.\n"""
annotations += u"""Ce fichier sera chiffré pour les rôles suivants :\n%s\n
C'est-à-dire pour les utilisateurs suivants :\n%s""" % (
', '.join(passfile['roles']),
', '.join(new_roles),
'\n'.join(' %s' % rec for rec in get_dest_of_roles(options, new_roles))
)