Yeah, the entire contents are; from Products.ZMySQLDA.db import * from Shared.DC.ZRDB.TM import TM class DB(DB, TM): _p_oid=_p_changed=_registered=None def _begin(self, *ignored): self.db.query("BEGIN") def _finish(self, *ignored): self.db.query("COMMIT") def _abort(self, *ignored): self.db.query("ROLLBACK") def query(self, *args): self._register() return apply(DB.query, (self,)+args) does this look OK? Andy Dustman wrote:
On Wed, 17 Jan 2001, Vinny wrote:
Ok, it's Vinny again,
I am trying to get
ZMySQLTDA up and running. After installation ZMySQLTDA appears in the Product folder but gives a 'broken' status instead of "installed" I have MySQL-python-0.3.0 installed.
Has this worked OK for anyone else?
It seems to work OK for me, though I just pushed out version 2.0.2.
http://dustman.net/andy/python/ZMySQLDA/2.0.2
File "/usr/local/Zope-2.2.5-linux2-x86/lib/python/Products/ZMySQLTDA/db.py", line 4, in ? class DB(DB, TM): NameError: DB
Is this line at the top of that file?:
from Products.ZMySQLDA.db import *
-- Vincent Stoessel vince@idev.com Internet Applications Engineer IDEV http://www.idev.com V: 301 495 7345 x129