From 5607c350cd283ef2f48276a589486ffeef9c29b9 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Thu, 9 Sep 2021 12:58:29 -0400 Subject: [PATCH] Removing parens --- awx_collection/plugins/module_utils/controller_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx_collection/plugins/module_utils/controller_api.py b/awx_collection/plugins/module_utils/controller_api.py index fc4d73d69b..d2105e17ac 100644 --- a/awx_collection/plugins/module_utils/controller_api.py +++ b/awx_collection/plugins/module_utils/controller_api.py @@ -261,7 +261,7 @@ class ControllerAPIModule(ControllerModule): controller_version = response.info().getheader('X-API-Product-Version', None) parsed_collection_version = Version(self._COLLECTION_VERSION).version - if(not controller_version): + if not controller_version: self.warn("You are using the {0} version of this collection but connecting to a controller that did not return a version".format(self._COLLECTION_VERSION)) else: parsed_controller_version = Version(controller_version).version