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
45e989a5
Commit
45e989a5
authored
Mar 16, 2018
by
Daniel Bacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix getGroups method
parent
8be7ec2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
kitgvapi/models.py
kitgvapi/models.py
+1
-1
No files found.
kitgvapi/models.py
View file @
45e989a5
...
...
@@ -143,6 +143,6 @@ class User(Model):
def
get_groups
(
self
):
self
.
load
()
l
=
self
.
client
.
get_user_groups
(
pk
=
self
.
pk
)
for
d
in
l
:
for
d
in
l
[
'all'
]
:
y
=
Group
(
client
=
self
.
client
,
data
=
d
)
yield
y
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