From: Naoki Kambe Date: Fri, 14 Dec 2012 08:15:40 +0000 (+0900) Subject: [2225_statistics] remove an unnecessary formating X-Git-Tag: bind10-1.1.0beta1-release~72^2~40^2~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fe2c80c65634db3c5b9ef7fab2e2f48a507fc94;p=thirdparty%2Fkea.git [2225_statistics] remove an unnecessary formating Due to the review comment. --- diff --git a/src/lib/python/isc/statistics/counter.py b/src/lib/python/isc/statistics/counter.py index 8a7c4e552d..6ff82fdd86 100644 --- a/src/lib/python/isc/statistics/counter.py +++ b/src/lib/python/isc/statistics/counter.py @@ -84,8 +84,7 @@ def _add_counter(element, spec, identifier): # check whether spec and identifier are correct isc.config.find_spec_part(spec, identifier) # examine spec of the top-level item first - spec_ = isc.config.find_spec_part( - spec, '%s' % identifier.split('/')[0]) + spec_ = isc.config.find_spec_part(spec, identifier.split('/')[0]) if spec_['item_type'] == 'named_set' and \ spec_['named_set_item_spec']['item_type'] == 'map': map_spec = spec_['named_set_item_spec']['map_item_spec']