On 10/23/06, Karl Guertin <[EMAIL PROTECTED]> wrote:
>
> On 10/23/06, Robin Munn <[EMAIL PROTECTED]> wrote:
> > 0 would work too, of course, since it's a false value in Boolean
> > contexts. The code never checks for "if echo == False", but always a
> > simple "if echo:" test, so 0, or an empty list, or any other false
> > value will work.
>
> In theory, yes. In practice, I find I get logging for any value other
> than False for sqlalchemy.echo. I'm not sure if this value even gets
> into the SA code or if it's handled by something in TG. I've always
> been working on something else when I ran into it, so I haven't looked
> into it beyond thinking that it was odd.

Huh. That *is* odd. Maybe it's getting interpreted as a string
somewhere, resulting in the string "False"...?

I don't have time to look at it, though. I'll have to leave that to
someone else.

-- 
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sqlalchemy
-~----------~----~----~----~------~----~------~--~---

Reply via email to