Skip to content

Commit

Permalink
NB-17 lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoshionemind committed Jul 3, 2024
1 parent 13bf040 commit 4545206
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion netbox_metatype_importer/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def create(self, request, *args, **kwargs):
_mdt.save()
vendors_for_cre = set(model.objects.filter(pk__in=pk_list).values_list('vendor', flat=True).distinct())
for vendor, name, sha in model.objects.filter(pk__in=pk_list, is_imported=False).values_list(
'vendor', 'name', 'sha'
'vendor', 'name', 'sha'
):
query_data[sha] = f'{vendor}/{name}'
if not query_data:
Expand Down
2 changes: 1 addition & 1 deletion netbox_metatype_importer/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def post(self, request):
_mdt.save()
vendors_for_cre = set(model.objects.filter(pk__in=pk_list).values_list('vendor', flat=True).distinct())
for vendor, name, sha in model.objects.filter(pk__in=pk_list, is_imported=False).values_list(
'vendor', 'name', 'sha'
'vendor', 'name', 'sha'
):
query_data[sha] = f'{vendor}/{name}'
if not query_data:
Expand Down

0 comments on commit 4545206

Please sign in to comment.