浏览代码

Formatting: Remove whitespace on blank line

kkthxbye-code 3 年之前
父节点
当前提交
977ccb01f2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      netbox/dcim/models/devices.py

+ 2 - 2
netbox/dcim/models/devices.py

@@ -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'])