From 1c4b6741ac0fe2abd4c2656fcdeb26c2d39b285f Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Wed, 7 Apr 2021 11:01:01 +0200 Subject: [PATCH] Fixed isort issues --- startup_scripts/080_racks.py | 2 +- startup_scripts/140_devices.py | 2 +- startup_scripts/330_power_panels.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/startup_scripts/080_racks.py b/startup_scripts/080_racks.py index eb9bcf9..b2cfc80 100644 --- a/startup_scripts/080_racks.py +++ b/startup_scripts/080_racks.py @@ -1,6 +1,6 @@ import sys -from dcim.models import Rack, Location, RackRole, Site +from dcim.models import Location, Rack, RackRole, Site from startup_script_utils import load_yaml, pop_custom_fields, set_custom_fields_values from tenancy.models import Tenant diff --git a/startup_scripts/140_devices.py b/startup_scripts/140_devices.py index 3e26c41..423b7c9 100644 --- a/startup_scripts/140_devices.py +++ b/startup_scripts/140_devices.py @@ -1,6 +1,6 @@ import sys -from dcim.models import Device, DeviceRole, DeviceType, Platform, Rack, Site, Location +from dcim.models import Device, DeviceRole, DeviceType, Location, Platform, Rack, Site from startup_script_utils import load_yaml, pop_custom_fields, set_custom_fields_values from tenancy.models import Tenant from virtualization.models import Cluster diff --git a/startup_scripts/330_power_panels.py b/startup_scripts/330_power_panels.py index 370a7b6..8542435 100644 --- a/startup_scripts/330_power_panels.py +++ b/startup_scripts/330_power_panels.py @@ -1,6 +1,6 @@ import sys -from dcim.models import PowerPanel, Location, Site +from dcim.models import Location, PowerPanel, Site from startup_script_utils import load_yaml, pop_custom_fields, set_custom_fields_values power_panels = load_yaml("/opt/netbox/initializers/power_panels.yml")