From: Naoki Kambe Date: Mon, 29 Oct 2012 11:55:44 +0000 (+0900) Subject: [2298] use '%d' in formatting an integer instead of '%s' X-Git-Tag: trac2487_base~1^2~27^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa388838a075450e4dffe09e882fa00e6397d9e3;p=thirdparty%2Fkea.git [2298] use '%d' in formatting an integer instead of '%s' --- diff --git a/src/bin/stats/stats_httpd.py.in b/src/bin/stats/stats_httpd.py.in index 970a5ee7fe..b756d4dd31 100644 --- a/src/bin/stats/stats_httpd.py.in +++ b/src/bin/stats/stats_httpd.py.in @@ -90,7 +90,7 @@ def item_name_list(element, identifier): ret += item_name_list(element, idstr) elif type(elem) is list: for i in range(0, len(elem)): - idstr = '%s[%s]' % (ident, i) + idstr = '%s[%d]' % (ident, i) ret += item_name_list(element, idstr) ret.sort() return ret