Skip to content
Snippets Groups Projects
Verified Commit 19d64d20 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Reformat

parent 85813975
No related branches found
No related tags found
No related merge requests found
...@@ -253,7 +253,9 @@ def import_csv( ...@@ -253,7 +253,9 @@ def import_csv(
# Add primary group to list in order to not delete the membership # Add primary group to list in order to not delete the membership
if instance.primary_group: if instance.primary_group:
groups = groups.union(Group.objects.filter(pk=instance.primary_group.pk)) groups = groups.union(
Group.objects.filter(pk=instance.primary_group.pk)
)
# Remove old group memberships # Remove old group memberships
old_groups = instance.member_of.filter( old_groups = instance.member_of.filter(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment