Skip to content

Commit 4d0a8d5

Browse files
author
zaihuaji
committed
save
1 parent c538099 commit 4d0a8d5

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)