1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

remove duplicate declaration (#38449)

result['uid'] is already defined at line 2213 in user.py module.
This commit is contained in:
tobald 2018-04-08 18:54:32 +02:00 committed by Abhijeet Kasurde
parent 0c5f03d3f4
commit 7f99876274

View file

@ -2215,7 +2215,6 @@ def main():
result['comment'] = info[4] result['comment'] = info[4]
result['home'] = info[5] result['home'] = info[5]
result['shell'] = info[6] result['shell'] = info[6]
result['uid'] = info[2]
if user.groups is not None: if user.groups is not None:
result['groups'] = user.groups result['groups'] = user.groups