Skip to content

Commit bb59b34

Browse files
authored
Merge pull request #8 from NCAR/hua-work-common
USNAME -> LNNAME
2 parents 17957e2 + b2788b8 commit bb59b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rda_python_common/PgDBI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2222,7 +2222,7 @@ def get_pgpass_password():
22222222

22232223
if PGDBI['PWNAME']: return PGDBI['PWNAME']
22242224
if not DBPASS: read_pgpass()
2225-
return DBPASS.get((PGDBI['DBSHOST'], PGDBI['DBPORT'], PGDBI['DBNAME'], PGDBI['USNAME']))
2225+
return DBPASS.get((PGDBI['DBSHOST'], PGDBI['DBPORT'], PGDBI['DBNAME'], PGDBI['LNNAME']))
22262226

22272227
#
22282228
# Reads the .pgpass file and returns a dictionary of credentials.

0 commit comments

Comments
 (0)