BIND 10 trac1175, updated. 36df7f4a05a2f07cdb6cddd80a476fa53fdb3bf9 [1175] fix typo and correct changes from trac519

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Aug 24 08:27:37 UTC 2011


The branch, trac1175 has been updated
       via  36df7f4a05a2f07cdb6cddd80a476fa53fdb3bf9 (commit)
      from  16358d7c1107b414d47f77589aaf1b14546c23b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 36df7f4a05a2f07cdb6cddd80a476fa53fdb3bf9
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Wed Aug 24 17:28:29 2011 +0900

    [1175] fix typo and correct changes from trac519

-----------------------------------------------------------------------

Summary of changes:
 src/bin/bind10/bind10_src.py.in        |    3 +--
 src/bin/bind10/tests/bind10_test.py.in |    5 +++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/bind10/bind10_src.py.in b/src/bin/bind10/bind10_src.py.in
index 9086a59..1a76e2f 100755
--- a/src/bin/bind10/bind10_src.py.in
+++ b/src/bin/bind10/bind10_src.py.in
@@ -331,8 +331,7 @@ class BoB:
                 valid = self.ccs.get_module_spec().validate_statistics(
                     True, stats_data["data"])
                 if valid:
-                    cmd = isc.config.ccsession.create_command(
-                    'set', stats_data })
+                    cmd = isc.config.ccsession.create_command('set', stats_data)
                     seq = self.cc_session.group_sendmsg(cmd, 'Stats')
                     # Consume the answer, in case it becomes a orphan message.
                     try:
diff --git a/src/bin/bind10/tests/bind10_test.py.in b/src/bin/bind10/tests/bind10_test.py.in
index e002087..2efd940 100644
--- a/src/bin/bind10/tests/bind10_test.py.in
+++ b/src/bin/bind10/tests/bind10_test.py.in
@@ -168,8 +168,9 @@ class TestBoB(unittest.TestCase):
         # "getstats" command
         self.assertEqual(bob.command_handler("getstats", None),
                          isc.config.ccsession.create_answer(0,
-                            { "stats_data": {
-                                'bind10.boot_time': time.strftime('%Y-%m-%dT%H:%M:%SZ', _BASETIME)
+                            { "owner": "Boss",
+                              "data": {
+                                'boot_time': time.strftime('%Y-%m-%dT%H:%M:%SZ', _BASETIME)
                             }}))
         # "sendstats" command
         self.assertEqual(bob.command_handler("sendstats", None),




More information about the bind10-changes mailing list