Author: phd
Date: 2009-12-30 18:08:54 -0700 (Wed, 30 Dec 2009)
New Revision: 4060
Modified:
SQLObject/branches/0.11/sqlobject/firebird/firebirdconnection.py
Log:
Fixed a bug.
Modified: SQLObject/branches/0.11/sqlobject/firebird/firebirdconnection.py
===================================================================
--- SQLObject/branches/0.11/sqlobject/firebird/firebirdconnection.py 2009-12-14 19:23:26 UTC (rev 4059)
+++ SQLObject/branches/0.11/sqlobject/firebird/firebirdconnection.py 2009-12-31 01:08:54 UTC (rev 4060)
@@ -10,6 +10,8 @@
dbName = 'firebird'
schemes = [dbName]
+ limit_re = re.compile('^\s*(select )(.*)', re.IGNORECASE)
+
def __init__(self, host, db, user='sysdba',
password='masterkey', autoCommit=1,
dialect=None, role=None, charset=None, **kw):
@@ -18,8 +20,6 @@
import kinterbasdb
self.module = kinterbasdb
- self.limit_re = re.compile('^\s*(select )(.*)', re.IGNORECASE)
-
self.host = host
self.db = db
self.user = user
|