Skip to content

Commit cde828a

Browse files
authored
Merge pull request #11 from NCAR/hua-work-common
update to 1.0.7
2 parents 0adb43b + aadee67 commit cde828a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "rda_python_common"
7-
version = "1.0.6"
7+
version = "1.0.7"
88

99
authors = [
1010
{ name="Zaihua Ji", email="zji@ucar.edu" },

src/rda_python_common/PgDBI.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2226,6 +2226,8 @@ def get_pgpass_password():
22262226
pwname = DBPASS.get((PGDBI['DBSHOST'], dbport, PGDBI['DBNAME'], PGDBI['LNNAME']))
22272227
if not pwname: pwname = DBPASS.get((PGDBI['DBHOST'], dbport, PGDBI['DBNAME'], PGDBI['LNNAME']))
22282228

2229+
return pwname
2230+
22292231
#
22302232
# Reads the .pgpass file and returns a dictionary of credentials.
22312233
#

0 commit comments

Comments
 (0)