Would this patch fix the problem in the older versions of kinterbasdb?
Index: dbFirebird.py
===================================================================
--- dbFirebird.py (revision 2681)
+++ dbFirebird.py (working copy)
@@ -11,8 +11,14 @@
self.dbModuleName = "kinterbasdb"
self.fieldPat =
re.compile("([A-Za-z_][A-Za-z0-9-_]+)\.([A-Za-z_][A-Za-z0-9-_]+)")
import kinterbasdb
- if not kinterbasdb.initialized:
+ initialized = getattr(kinterbasdb, "initialized", None):
+ if not initialized:
kinterbasdb.init(type_conv=200)
+ if initialized is None:
+ # Older versions of kinterbasedb didn't
have this attribute, so we write
+ # it ourselves:
+ kinterbasdb.initialized = True
+
self.dbapi = kinterbasdb
--
pkm ~ http://paulmcnett.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users