Skip to content

Commit b2788b8

Browse files
author
zaihuaji
committed
USNAME -> LNNAME
1 parent 799528b commit b2788b8

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)