Skip to content

Commit

Permalink
Merge pull request #8 from NCAR/hua-work-common
Browse files Browse the repository at this point in the history
USNAME -> LNNAME
  • Loading branch information
zaihuaji authored Jan 23, 2025
2 parents 17957e2 + b2788b8 commit bb59b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rda_python_common/PgDBI.py
Original file line number Diff line number Diff line change
Expand Up @@ -2222,7 +2222,7 @@ def get_pgpass_password():

if PGDBI['PWNAME']: return PGDBI['PWNAME']
if not DBPASS: read_pgpass()
return DBPASS.get((PGDBI['DBSHOST'], PGDBI['DBPORT'], PGDBI['DBNAME'], PGDBI['USNAME']))
return DBPASS.get((PGDBI['DBSHOST'], PGDBI['DBPORT'], PGDBI['DBNAME'], PGDBI['LNNAME']))

#
# Reads the .pgpass file and returns a dictionary of credentials.
Expand Down

0 comments on commit bb59b34

Please sign in to comment.