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