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

Axel Straschil axel at straschil.com
Thu Jan 27 05:09:32 EST 2005


Hello Chris!

>> 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...

Both give me the same instance (<SQL instance at 41360c20>), and
getPhysicalPath with both also gives me the same path.
How to print out and find the difference?

Lg,
AXEL.
-- 
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
interpreted as described in RFC 2119 [http://ietf.org/rfc/rfc2119.txt]



More information about the Zope-DB mailing list