Oh right, I was just going to say that. I noticed this:

>>> n
' bob  SHA1("yomomma") '
>>> web.db.sqlify(n)
'\' bob  SHA1("yomomma") \''
>>> n2 = " bob SHA1('yomomma') "
>>> web.db.sqlify(n2)
'" bob SHA1(\'yomomma\') "'
>>> print web.db.sqlify(n)
' bob  SHA1("yomomma") '
>>> print web.db.sqlify(n2)
" bob SHA1('yomomma') "

Thanks.



On Apr 7, 11:07 pm, "Aaron Swartz" <[EMAIL PROTECTED]> wrote:
> >  Look at the different results when I switch types of quotes in
> >  SQLLiteral:
>
> These aren't different results; the backslashes are just put there by
> Python's repr.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to