From: Naoki Kambe Date: Mon, 24 Sep 2012 05:03:44 +0000 (+0900) Subject: [2222] corrected the comment according to what the code does X-Git-Tag: trac2351_base~44^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=704457924e2a892e012b7c750bfe08fe56da7128;p=thirdparty%2Fkea.git [2222] corrected the comment according to what the code does --- diff --git a/src/bin/xfrout/xfrout.py.in b/src/bin/xfrout/xfrout.py.in index bf1b502eca..90eca66c3b 100755 --- a/src/bin/xfrout/xfrout.py.in +++ b/src/bin/xfrout/xfrout.py.in @@ -169,9 +169,9 @@ class XfroutSession(): self.ClientClass = client_class # parameterize this for testing self._soa = None # will be set in _xfrout_setup or in tests self._jnl_reader = None # will be set to a reader for IXFR - # Set counter handlers for counting Xfr requests or - # incrementing or decrementing Xfr running. An argument - # is required for zone name in counting Xfr requests. + # Extract counter handler from the `counters` argument and add + # it to the class attribute of the name whose prefix is + # '_counter_' '_inc_' or '_dec_' for (k, v) in counters.items(): if k.find('counter_') == 0 or k.find('inc_') == 0 \ or k.find('dec_') == 0: