mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
bugfix for issue #2537
This commit is contained in:
parent
3ad67d93ea
commit
5c05016d1e
1 changed files with 2 additions and 1 deletions
|
@ -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]]:
|
||||
|
|
Loading…
Reference in a new issue