diff --git a/nautobot_device_lifecycle_mgmt/jobs/lifecycle_reporting.py b/nautobot_device_lifecycle_mgmt/jobs/lifecycle_reporting.py index a7cbd19a..07049f07 100644 --- a/nautobot_device_lifecycle_mgmt/jobs/lifecycle_reporting.py +++ b/nautobot_device_lifecycle_mgmt/jobs/lifecycle_reporting.py @@ -132,8 +132,12 @@ def run(self, **filters) -> None: # pylint: disable=arguments-differ # Get versioned and non-versioned devices for platform, tenant in filtered_products: - versioned_devices.extend(Device.objects.filter(platform=platform, tenant=tenant, software_version__isnull=False)) - non_versioned_devices.extend(Device.objects.filter(platform=platform, tenant=tenant, software_version__isnull=True)) + versioned_devices.extend( + Device.objects.filter(platform=platform, tenant=tenant, software_version__isnull=False) + ) + non_versioned_devices.extend( + Device.objects.filter(platform=platform, tenant=tenant, software_version__isnull=True) + ) # Validate devices without software version for device in non_versioned_devices: