Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
jens.kleineheismann
python-kitgvapi
Commits
42135353
Commit
42135353
authored
Jun 11, 2018
by
Daniel Bacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: error with groups that has no eMailAddress
Signed-off-by:
Daniel Bacher
<
mail@phill93.de
>
parent
26b70d67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
kitgvapi/models.py
kitgvapi/models.py
+2
-1
No files found.
kitgvapi/models.py
View file @
42135353
...
...
@@ -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'
]
self
.
pk
=
getattr
(
self
,
SYMBOLS
[
'GROUP_PK_ATTRIB'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment