Skip to content

Commit

Permalink
Issue #221 Removed check for missing password.
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Aug 7, 2023
1 parent d7b259b commit 4c1ca2f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions METdbLoad/ush/read_load_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,6 @@ def read_db_connect(self, root):
logging.warning("!!! XML expecting user and password tags")
raise NameError("Missing required user tag")

# For AWS users, an empty password is acceptable.
if not self.connection['db_password']:
logging.warning("!!! XML expecting user and password tags")

if root.xpath('connection')[0].xpath('management_system'):
self.connection['db_management_system'] = \
root.xpath('connection')[0].xpath('management_system')[0].text
Expand Down

0 comments on commit 4c1ca2f

Please sign in to comment.