mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
strip both spaces and * from Group names
This commit is contained in:
parent
36f9ddc2bb
commit
6e5967d4a2
@ -262,7 +262,7 @@ def info(name):
|
||||
for group in groups:
|
||||
if not group:
|
||||
continue
|
||||
grouplist.append(group.strip('*'))
|
||||
grouplist.append(group.strip(' *'))
|
||||
|
||||
ret['fullname'] = items['Full Name']
|
||||
ret['name'] = items['User name']
|
||||
|
Loading…
Reference in New Issue
Block a user