Skip to content

Commit

Permalink
Fixed extraneous parenthesis in if-statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Aug 7, 2023
1 parent f2bf469 commit d7b259b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion METdbLoad/ush/read_load_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit d7b259b

Please sign in to comment.