Skip to content

Commit

Permalink
Merge pull request #7 from NCAR/hua-work-common
Browse files Browse the repository at this point in the history
Hua work common
  • Loading branch information
zaihuaji authored Jan 23, 2025
2 parents 7268cef + 799528b commit 17957e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/rda_python_common/PgDBI.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,10 +508,6 @@ def pgconnect(reconnect = 0, pgcnt = 0, autocommit = True):
elif reconnect:
reconnect = 0 # initial connection

# if PGDBI['VWHOST'] and PGDBI['VWHOME'] and PGDBI['DBSHOST'] == PGDBI['VWSHOST'] and PGDBI['SCNAME'] == PGDBI['VWNAME']:
# slave = "/{}/{}.slave".format(PGDBI['VWHOME'], PGDBI['VWHOST'])
# if not op.exists(slave): default_scname()

while True:
config = {'database' : PGDBI['DBNAME'],
'user' : PGDBI['LNNAME']}
Expand Down

0 comments on commit 17957e2

Please sign in to comment.