From d7b259b3377b00aedd7bd1f82287bd3ce0cf9655 Mon Sep 17 00:00:00 2001 From: bikegeek Date: Mon, 7 Aug 2023 10:21:32 -0600 Subject: [PATCH] Fixed extraneous parenthesis in if-statement. --- METdbLoad/ush/read_load_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/METdbLoad/ush/read_load_xml.py b/METdbLoad/ush/read_load_xml.py index 82260b91..50c79e20 100644 --- a/METdbLoad/ush/read_load_xml.py +++ b/METdbLoad/ush/read_load_xml.py @@ -240,7 +240,7 @@ def read_db_connect(self, root): self.connection['db_password'] = \ root.xpath('connection')[0].xpath('password')[0].text - if ((not self.connection['db_user']): + if not self.connection['db_user']: logging.warning("!!! XML expecting user and password tags") raise NameError("Missing required user tag")