mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
typo
This commit is contained in:
parent
f44ac5ac55
commit
5c26bd13af
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user