Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita770da9

Browse files
committed
Back out python change, needs delay.
1 parent3cd9399 commita770da9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/interfaces/python/pgdb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def cursor(self):
337337
### module interface
338338

339339
# connects to a database
340-
defconnect(dsn=None,user=None,password=None,xhost=None,database=None):
340+
defconnect(dsn=None,user=None,password=None,host=None,database=None):
341341
# first get params from DSN
342342
dbport=-1
343343
dbhost=""
@@ -364,9 +364,9 @@ def connect(dsn = None, user = None, password = None, xhost = None, database = N
364364
dbpasswd=password
365365
ifdatabase!=None:
366366
dbbase=database
367-
ifxhost!=None:
367+
ifhost!=None:
368368
try:
369-
params=string.split(xhost,":")
369+
params=string.split(host,":")
370370
dbhost=params[0]
371371
dbport=int(params[1])
372372
except:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp