Skip to content

Commit 17957e2

Browse files
authored
Merge pull request #7 from NCAR/hua-work-common
Hua work common
2 parents 7268cef + 799528b commit 17957e2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/rda_python_common/PgDBI.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,6 @@ def pgconnect(reconnect = 0, pgcnt = 0, autocommit = True):
508508
elif reconnect:
509509
reconnect = 0 # initial connection
510510

511-
# if PGDBI['VWHOST'] and PGDBI['VWHOME'] and PGDBI['DBSHOST'] == PGDBI['VWSHOST'] and PGDBI['SCNAME'] == PGDBI['VWNAME']:
512-
# slave = "/{}/{}.slave".format(PGDBI['VWHOME'], PGDBI['VWHOST'])
513-
# if not op.exists(slave): default_scname()
514-
515511
while True:
516512
config = {'database' : PGDBI['DBNAME'],
517513
'user' : PGDBI['LNNAME']}

0 commit comments

Comments
 (0)