Skip to content

Commit

Permalink
Extra newlines.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Sep 25, 2024
1 parent e6e7b6c commit 4eeedc2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions galaxy_ng/app/migrations/_dab_rbac.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def copy_roles_to_role_definitions(apps, schema_editor):


def migrate_role_assignments(apps, schema_editor):

UserRole = apps.get_model('core', 'UserRole')
GroupRole = apps.get_model('core', 'GroupRole')
Group = apps.get_model('auth', 'Group')
Expand All @@ -121,7 +120,6 @@ def migrate_role_assignments(apps, schema_editor):

# Migrate team/group role assignments
for group_role in GroupRole.objects.all():

rd = RoleDefinition.objects.filter(name=group_role.role.name).first()
if not rd:
continue
Expand Down

0 comments on commit 4eeedc2

Please sign in to comment.