> >>>> 'select * from %s' % web.db.sqlquote(u'my_table') > > "select * from u'my_table'" > > Why do you want to sqlquote table? sqlquote is used for quoting values. > It is not a good idea to use %s replacements in sql. > I don't think it is a valid SQL Query to quote table names.
Ah, the problem was that my app uses '%s' interpolation. Thanks. > > TypeError: translate() takes exactly one argument (2 given) > > Is this a known issue? Am I misusing strings? > > Its probably a bug. I'll have look at it. Thank you! Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
