# HG changeset patch # User Mads Kiilerich # Date 2015-08-11 12:39:07 # Node ID 1baa286d001da940764428ea475294af00c481b3 # Parent 07e293730376d83df2a6adb13eda5b66081002d1 helpers: drop incorrect % escaping in fancy_file_stats % should not be escaped when not doing % formatting. diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -1210,7 +1210,7 @@ def fancy_file_stats(stats): #import ipdb;ipdb.set_trace() b_d = '
%s
' % (bin_op, cgen('a', a_v='', d_v=0), lbl) - b_a = '
' + b_a = '
' return literal('
%s%s
' % (width, b_a, b_d)) t = stats['added'] + stats['deleted']