diff pylons_app/lib/timerproxy.py @ 494:b4d9680cd164 celery

some code fixes templates+helpers new rfc date without tz, added timerproxy formatting
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 22 Sep 2010 04:31:21 +0200
parents a5a17000e45b
children
line wrap: on
line diff
--- a/pylons_app/lib/timerproxy.py	Wed Sep 22 04:30:36 2010 +0200
+++ b/pylons_app/lib/timerproxy.py	Wed Sep 22 04:31:21 2010 +0200
@@ -21,6 +21,7 @@
     sql = sql.replace('\n', '')
     sql = one_space_trim(sql)
     sql = sql\
+        .replace(',', ',\n\t')\
         .replace('SELECT', '\n\tSELECT \n\t')\
         .replace('UPDATE', '\n\tUPDATE \n\t')\
         .replace('DELETE', '\n\tDELETE \n\t')\