Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Sep 25, 2024
1 parent 5d6feef commit 5b719ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions python/nav/bin/navdump.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@ def management_profile():
"""Outputs a line for each management profile in the database"""
header("#name:protocol:option=value|option=value...")
for profile in manage.ManagementProfile.objects.all():
configuration = [
'{}={}'.format(key, value)
for key, value in profile.configuration.items()
]
line = [
profile.name,
profile.get_protocol_display(),
Expand Down
1 change: 0 additions & 1 deletion python/nav/web/seeddb/page/management_profile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def management_profile_list(request):
management_profile()"""
info = ManagementProfileInfo()
value_list = ('name', 'description', 'get_protocol_display', 'related')
netbox_link = reverse('seeddb-netbox')
queryset = ManagementProfile.objects.annotate(related=Count('netboxes'))
filter_form = ManagementProfileFilterForm(request.GET)
return render_list(
Expand Down

0 comments on commit 5b719ff

Please sign in to comment.