Mercurial > sqlpython
changeset 270:dd80e46b5ca2
cleanup unused \j
author | catherine@dellzilla |
---|---|
date | Wed, 18 Mar 2009 10:08:34 -0400 |
parents | e4869b369e12 |
children | fbe23b635300 |
files | sqlpython/output_templates.py |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/sqlpython/output_templates.py Wed Mar 18 09:44:25 2009 -0400 +++ b/sqlpython/output_templates.py Wed Mar 18 10:08:34 2009 -0400 @@ -14,15 +14,6 @@ </${tblname}_resultset> </xml>"""), - -'\\j': genshi.template.NewTextTemplate(""" -{"${tblname}_resultset": [ - ${',\\n '.join('{%s}' % ( - ','.join('"%s": "%s"\\n ' % ((colname, itm) for (colname, itm) in zip(colnames, row))) - for row in rows))} - ] -}"""), - '\\j': genshi.template.NewTextTemplate(""" {"${tblname}": [ ${',\\n'.join(' {%s}' % ', '.join('"%s": %s' % (colname,