From 5ce4c9409113ca703243b4dd355272231c0908cd Mon Sep 17 00:00:00 2001 From: jo Date: Thu, 1 Feb 2024 16:39:57 +0100 Subject: [PATCH] style: format files --- plugins/modules/firewall.py | 6 +++--- plugins/modules/firewall_info.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/modules/firewall.py b/plugins/modules/firewall.py index ddd8e245..8f6d0fbb 100644 --- a/plugins/modules/firewall.py +++ b/plugins/modules/firewall.py @@ -253,9 +253,9 @@ def _prepare_result_applied_to(self, resource: FirewallResource): result = { "type": to_native(resource.type), "server": to_native(resource.server.id) if resource.server is not None else None, - "label_selector": to_native(resource.label_selector.selector) - if resource.label_selector is not None - else None, + "label_selector": ( + to_native(resource.label_selector.selector) if resource.label_selector is not None else None + ), } if resource.applied_to_resources is not None: result["applied_to_resources"] = [ diff --git a/plugins/modules/firewall_info.py b/plugins/modules/firewall_info.py index 4f368c6e..7e7a623d 100644 --- a/plugins/modules/firewall_info.py +++ b/plugins/modules/firewall_info.py @@ -191,9 +191,9 @@ def _prepare_result_applied_to(self, resource: FirewallResource): result = { "type": to_native(resource.type), "server": to_native(resource.server.id) if resource.server is not None else None, - "label_selector": to_native(resource.label_selector.selector) - if resource.label_selector is not None - else None, + "label_selector": ( + to_native(resource.label_selector.selector) if resource.label_selector is not None else None + ), } if resource.applied_to_resources is not None: result["applied_to_resources"] = [