Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
python-kitgvapi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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