1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Formatting: Remove whitespace on blank line

This commit is contained in:
kkthxbye-code
2022-05-02 21:55:34 +02:00
parent c2a6a1c125
commit 977ccb01f2

View File

@ -1097,10 +1097,10 @@ class Module(NetBoxModel, ConfigContextModel):
existing_item.module = self
update_instances.append(existing_item)
continue
# If we are not adopting components or the component doesn't already exist
create_instances.append(template_instance)
component_model.objects.bulk_create(create_instances)
component_model.objects.bulk_update(update_instances, ['module'])