changeset 5382:1baa286d001d

helpers: drop incorrect % escaping in fancy_file_stats % should not be escaped when not doing % formatting.
author Mads Kiilerich <madski@unity3d.com>
date Tue, 11 Aug 2015 12:39:07 +0200
parents 07e293730376
children 144878118c95
files kallithea/lib/helpers.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/helpers.py	Tue Aug 11 12:39:07 2015 +0200
+++ b/kallithea/lib/helpers.py	Tue Aug 11 12:39:07 2015 +0200
@@ -1210,7 +1210,7 @@
 
         #import ipdb;ipdb.set_trace()
         b_d = '<div class="bin bin%s %s" style="width:100%%">%s</div>' % (bin_op, cgen('a', a_v='', d_v=0), lbl)
-        b_a = '<div class="bin bin1" style="width:0%%"></div>'
+        b_a = '<div class="bin bin1" style="width:0%"></div>'
         return literal('<div style="width:%spx">%s%s</div>' % (width, b_a, b_d))
 
     t = stats['added'] + stats['deleted']