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

5
TODO
View file

@ -1,15 +1,20 @@
* Replication auto
* CLI
* prepare python3 \o/
* ./configure
* Tester python
* Tester xclip
* Proposer des profils tous faits dans un sous-dosier
* refaire Makefile
* Système de templates/exemples de conf
* make update (après git pull)
* remplissage via ldap
* installation de dev
* retirer le binaire serveur de /usr/local/bin/
* Modulariser le code (client.py devient gros)
* renommer en "cpasswords" ? (aka common passwords :p)
* internationalisation
* annotation des dates de dernières màj et cie
diff --git a/client.py b/client.py
index 6ba2a6e..6486e11 100755
--- a/client.py

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