Commit 42135353 authored by daniel.bacher's avatar daniel.bacher

FIX: error with groups that has no eMailAddress

Signed-off-by: daniel.bacher's avatarDaniel Bacher <>
parent 26b70d67
......@@ -54,7 +54,8 @@ class Group(Model):
self.gidNumber = data['gidNumber']
self.readOnly = data['readOnly']
self.verteiler = data['verteiler']
self.eMailAddress = data['eMailAddress']
if 'eMailAddress' in data:
self.eMailAddress = data['eMailAddress']
self.oe_pk = data['oe'] = getattr(self, SYMBOLS['GROUP_PK_ATTRIB'])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment