This commit is contained in:
Michael Lustfield 2013-01-11 14:55:44 -06:00
parent f44ac5ac55
commit 5c26bd13af

View File

@ -404,10 +404,10 @@ def _format_info(data):
'passwd': data.pw_passwd,
'shell': data.pw_shell,
'uid': data.pw_uid,
'fullname': gecos_field.get[0],
'roomnumber': gecos_field.get[1],
'workphone': gecos_field.get[2],
'homephone': gecos_field.get[3]}
'fullname': gecos_field[0],
'roomnumber': gecos_field[1],
'workphone': gecos_field[2],
'homephone': gecos_field[3]}
def list_groups(name):