Mercurial > kallithea
diff rhodecode/lib/colored_formatter.py @ 1360:1f47adeb67c2 beta
Bumped sqlalchemy version to 0.7, replaced timerproxy with new event system for sqlalchemy.
TimerProxy is now longer valid profilling method for sqlalchemy
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 04 Jun 2011 20:34:30 +0200 |
parents | c1516b35f91d |
children | 5f80cc29ca07 |
line wrap: on
line diff
--- a/rhodecode/lib/colored_formatter.py Sat Jun 04 01:16:39 2011 +0200 +++ b/rhodecode/lib/colored_formatter.py Sat Jun 04 20:34:30 2011 +0200 @@ -62,7 +62,7 @@ def_record = logging.Formatter.format(self, record) end = RESET_SEQ - colored_record = start + def_record + end + colored_record = ''.join([start, def_record, end]) return colored_record @@ -81,5 +81,5 @@ def_record = format_sql(logging.Formatter.format(self, record)) end = RESET_SEQ - colored_record = start + def_record + end + colored_record = ''.join([start, def_record, end]) return colored_record