From: Naoki Kambe Date: Mon, 24 Sep 2012 04:41:50 +0000 (+0900) Subject: [2222] changed the misleading method name X-Git-Tag: trac2351_base~44^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48df8a1486f00e27636febfa3487ddab9a051ca6;p=thirdparty%2Fkea.git [2222] changed the misleading method name --- diff --git a/src/bin/xfrout/tests/xfrout_test.py.in b/src/bin/xfrout/tests/xfrout_test.py.in index 7cee8aa7c7..6e3f4a8b94 100644 --- a/src/bin/xfrout/tests/xfrout_test.py.in +++ b/src/bin/xfrout/tests/xfrout_test.py.in @@ -1656,7 +1656,7 @@ class TestXfroutCounter(unittest.TestCase): '%s/%s/%s' % (XfroutCounter.perzone_prefix,\ zone_name, counter_name)) - def test_xxcrementers(self): + def test_incdecrementers(self): # for per-zone counters result = { XfroutCounter.entire_server: {}, TEST_ZONE_NAME_STR: {} } diff --git a/src/bin/xfrout/xfrout.py.in b/src/bin/xfrout/xfrout.py.in index ef536c875c..835696ef1e 100755 --- a/src/bin/xfrout/xfrout.py.in +++ b/src/bin/xfrout/xfrout.py.in @@ -981,7 +981,7 @@ class XfroutCounter: if n.find('xfr_running') == 1 ] self._lock = threading.RLock() self._create_perzone_incrementers() - self._create_xfrrunning_xxcrementers() + self._create_xfrrunning_incdecrementers() def get_statistics(self): """Calculates an entire server counts, and returns statistics @@ -1054,7 +1054,7 @@ class XfroutCounter: self._counters_for_xfroutsession['counter_%s' % item] \ = __perzone_incrementer - def _create_xfrrunning_xxcrementers(self): + def _create_xfrrunning_incdecrementers(self): """Creates increment/decrement method of (a|i)xfr_running based on the spec file. Incrementer can be accessed by name "inc_${item_name}". Decrementer can be accessed by name