From: Naoki Kambe Date: Fri, 28 Sep 2012 02:47:55 +0000 (+0900) Subject: [2252] corrected the wrong comment of the methods X-Git-Tag: bind10-1.1.0beta1-release~72^2~40^2~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f73baf041ffda0351e5b9072e1ea43401ce497e;p=thirdparty%2Fkea.git [2252] corrected the wrong comment of the methods --- diff --git a/src/lib/python/isc/statistics/counter.py b/src/lib/python/isc/statistics/counter.py index e5a288ace1..46fd492a7b 100644 --- a/src/lib/python/isc/statistics/counter.py +++ b/src/lib/python/isc/statistics/counter.py @@ -371,19 +371,16 @@ class XfroutCounter(Counter): self._to_global['get_%s' % item] = __getter def _create_unixsocket_functors(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 - "dec_${item_name}". Both of them are passed to the - XfroutSession as counter handlers.""" + """Creates increment method of unixsocket socket. Incrementer + can be accessed by name "inc_unixsocket_${item_name}".""" for item in self._unixsocket_names: def __incrementer(counter_name=item, step=1): - """A incrementer for axfr or ixfr running.""" + """A incrementer for unix socket counter""" self._incrementer( 'socket/unixdomain/%s' % counter_name, step) def __getter(counter_name=item): - """A getter method for unixsockets counters""" + """A getter method for unix socket counter""" return self._getter( 'socket/unixdomain/%s' % counter_name) self._to_global['inc_unixsocket_%s' % item] = __incrementer