From: Naoki Kambe Date: Fri, 31 Aug 2012 06:32:52 +0000 (+0900) Subject: [2158] fixed full qualified class name X-Git-Tag: trac2351_base~65^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c938d158026dcc6d41ecdbf054dcba202ca9c4f;p=thirdparty%2Fkea.git [2158] fixed full qualified class name --- diff --git a/src/bin/xfrout/tests/xfrout_test.py.in b/src/bin/xfrout/tests/xfrout_test.py.in index 39ac2df2b8..15ae2b42e4 100644 --- a/src/bin/xfrout/tests/xfrout_test.py.in +++ b/src/bin/xfrout/tests/xfrout_test.py.in @@ -1609,8 +1609,8 @@ class TestXfroutServer(unittest.TestCase): def test_getstats(self): self.assertEqual( - self.xfrout_server.command_handler('getstats', None), - isc.config.ccsession.create_answer(0, {})) + self.xfrout_server.command_handler('getstats', None), \ + create_answer(0, {})) if __name__== "__main__": isc.log.resetUnitTestRootLogger() diff --git a/src/bin/xfrout/xfrout.py.in b/src/bin/xfrout/xfrout.py.in index 3d1801e39a..79ca537693 100755 --- a/src/bin/xfrout/xfrout.py.in +++ b/src/bin/xfrout/xfrout.py.in @@ -1163,8 +1163,7 @@ class XfroutServer: # daemon is periodically asking to the b10-xfrout daemon. logger.debug(DBG_XFROUT_TRACE, \ XFROUT_RECEIVED_GETSTATS_COMMAND) - answer = isc.config.ccsession.create_answer( - 0, self._counter.get_statistics()) + answer = create_answer(0, self._counter.get_statistics()) else: answer = create_answer(1, "Unknown command:" + str(cmd))