mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00:00
bugfix for issue #2537
This commit is contained in:
committed by
Matt Clay
parent
3ad67d93ea
commit
5c05016d1e
@@ -1683,7 +1683,8 @@ class DarwinUser(User):
|
||||
out = ''
|
||||
err = ''
|
||||
|
||||
self._make_group_numerical()
|
||||
if self.group:
|
||||
self._make_group_numerical()
|
||||
|
||||
for field in self.fields:
|
||||
if self.__dict__.has_key(field[0]) and self.__dict__[field[0]]:
|
||||
|
||||
Reference in New Issue
Block a user