removed timeout keyword which is not supported on linux build

This commit is contained in:
Miroslav Stampar 2010-04-13 10:11:14 +00:00
parent 6762f592c1
commit 4f299f22bf

View File

@ -51,7 +51,7 @@ class Connector(GenericConnector):
self.checkFileDb() self.checkFileDb()
try: try:
self.connector = kinterbasdb.connect(host=self.hostname, database=self.db, user=self.user, password=self.password, timeout={'period': conf.timeout}) self.connector = kinterbasdb.connect(host=self.hostname, database=self.db, user=self.user, password=self.password)
except kinterbasdb.OperationalError, msg: except kinterbasdb.OperationalError, msg:
raise sqlmapConnectionException, msg[1] raise sqlmapConnectionException, msg[1]