[Zope-DB] Re: How to call a zsql method with NOT a parameter

Chris Withers chris at simplistix.co.uk
Thu Jan 27 04:49:25 EST 2005


Axel Straschil wrote:

> Found a workaround:
> context.my_zsql(langid=mylangid) does not work
> container.my_zsql(langid=mylangid) does work
> 
> I'n my opinion, when context and container find the same method, 
> but give different results, thats a bug,?

Try printing what each is, you find they're not the objects you expect...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-DB mailing list