[Zope3-dev] Phantom of GadflyAdapter
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Dec 13 10:08:17 EST 2005
On Tuesday 13 December 2005 09:54, Tadashi Matsumoto wrote:
> Simple patch:
>
> --- gadflyda.py.org 2005-12-06 22:19:47.000000000 +0900
> +++ gadflyda.py 2005-12-12 22:41:07.000000000 +0900
> @@ -51,6 +51,8 @@
>
> # The registerable object needs to have a container
> __name__ = __parent__ = None
> + _v_connection = None
> + paramstyle = 'qmark'
>
> def _connection_factory(self):
> """Create a Gadfly DBI connection based on the DSN.
If you write a test for this, I'll check it in.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list