Commit ff68bb2a authored by Vincent Le gallic's avatar Vincent Le gallic

.pop au mauvais endroit.

Bugfix sur 300f13b2, on cherchait à virer
le role whoami deux fois de suite.
parent 9965a309
......@@ -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"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment