.pop au mauvais endroit.
Bugfix sur 300f13b236
, on cherchait à virer
le role whoami deux fois de suite.
This commit is contained in:
parent
9965a3098e
commit
ff68bb2a0d
1 changed files with 0 additions and 1 deletions
|
@ -516,7 +516,6 @@ def show_roles(options):
|
||||||
"""Affiche la liste des roles existants"""
|
"""Affiche la liste des roles existants"""
|
||||||
print(u"Liste des roles disponibles".encode("utf-8"))
|
print(u"Liste des roles disponibles".encode("utf-8"))
|
||||||
allroles = all_roles(options)
|
allroles = all_roles(options)
|
||||||
allroles.pop("whoami")
|
|
||||||
for (role, usernames) in allroles.iteritems():
|
for (role, usernames) in allroles.iteritems():
|
||||||
if not role.endswith('-w'):
|
if not role.endswith('-w'):
|
||||||
print((u" * %s : %s" % (role, ", ".join(usernames))).encode("utf-8"))
|
print((u" * %s : %s" % (role, ", ".join(usernames))).encode("utf-8"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue