bugfix for issue #2537

This commit is contained in:
Dominique Barton 2015-11-24 11:40:03 +01:00 committed by nitzmahone
parent 877daf970d
commit 6128845b69

View file

@ -1684,7 +1684,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]]: