.pop au mauvais endroit.

Bugfix sur 300f13b236, on cherchait à virer
le role whoami deux fois de suite.
This commit is contained in:
Vincent Le Gallic 2013-07-30 06:22:23 +02:00
parent 9965a3098e
commit ff68bb2a0d

View file

@ -516,7 +516,6 @@ def show_roles(options):
"""Affiche la liste des roles existants"""
print(u"Liste des roles disponibles".encode("utf-8"))
allroles = all_roles(options)
allroles.pop("whoami")
for (role, usernames) in allroles.iteritems():
if not role.endswith('-w'):
print((u" * %s : %s" % (role, ", ".join(usernames))).encode("utf-8"))