From 6128845b696b41d90862f6255b9a0e08557101c3 Mon Sep 17 00:00:00 2001 From: Dominique Barton Date: Tue, 24 Nov 2015 11:40:03 +0100 Subject: [PATCH] bugfix for issue #2537 --- system/user.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/user.py b/system/user.py index c04b748f068..e43173dac4f 100755 --- a/system/user.py +++ b/system/user.py @@ -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]]: