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:
@ -1097,10 +1097,10 @@ class Module(NetBoxModel, ConfigContextModel):
|
|||||||
existing_item.module = self
|
existing_item.module = self
|
||||||
update_instances.append(existing_item)
|
update_instances.append(existing_item)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# If we are not adopting components or the component doesn't already exist
|
# If we are not adopting components or the component doesn't already exist
|
||||||
create_instances.append(template_instance)
|
create_instances.append(template_instance)
|
||||||
|
|
||||||
component_model.objects.bulk_create(create_instances)
|
component_model.objects.bulk_create(create_instances)
|
||||||
component_model.objects.bulk_update(update_instances, ['module'])
|
component_model.objects.bulk_update(update_instances, ['module'])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user