strip both spaces and * from Group names

This commit is contained in:
David Boucha 2013-08-21 16:03:14 -06:00
parent 36f9ddc2bb
commit 6e5967d4a2

View File

@ -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']