Merge pull request #162 from netbox-community/cleanup
Remove debug statement
This commit is contained in:
commit
ed8e339bfe
|
@ -27,7 +27,6 @@ with file.open('r') as stream:
|
||||||
group_permissions = group_details.get('permissions', [])
|
group_permissions = group_details.get('permissions', [])
|
||||||
if group_permissions:
|
if group_permissions:
|
||||||
group.permissions.clear()
|
group.permissions.clear()
|
||||||
print("Permissions:", group.permissions.all())
|
|
||||||
for permission_codename in group_details.get('permissions', []):
|
for permission_codename in group_details.get('permissions', []):
|
||||||
for permission in Permission.objects.filter(codename=permission_codename):
|
for permission in Permission.objects.filter(codename=permission_codename):
|
||||||
group.permissions.add(permission)
|
group.permissions.add(permission)
|
||||||
|
|
Loading…
Reference in New Issue