1
0
Fork 0
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:
Dominique Barton 2015-11-24 11:40:03 +01:00 committed by Matt Clay
parent 3ad67d93ea
commit 5c05016d1e

View file

@ -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]]: