fix for localhost firebird direct db access

This commit is contained in:
Miroslav Stampar
2010-06-10 12:02:48 +00:00
parent 36953221f8
commit ac55e1b75f
2 changed files with 6 additions and 3 deletions

View File

@@ -647,7 +647,7 @@ def parseTargetDirect():
if details.group('remote'):
remote = True
conf.hostname = details.group('hostname')
conf.port = int(details.group('port'))
conf.port = int(details.group('port'))
else:
conf.hostname = "localhost"
conf.port = 0
@@ -675,7 +675,7 @@ def parseTargetDirect():
for dbmsName, data in dbmsDict.items():
if conf.dbms in data[0]:
try:
if dbmsName in ('Access', 'SQLite'):
if dbmsName in ('Access', 'SQLite', 'Firebird'):
if remote:
warnMsg = "direct connection over the network for "
warnMsg += "%s DBMS is not supported" % dbmsName