BIND 10 trac772, updated. 582348ce86ac20e0bb92079e5f15ba9b05f60a66 [trac772] some more trivial editorial fixes

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jul 14 22:08:51 UTC 2011


The branch, trac772 has been updated
       via  582348ce86ac20e0bb92079e5f15ba9b05f60a66 (commit)
       via  92bf1032800f3365a5d8eb5052a2a045495ca646 (commit)
      from  ebc15cde7e0fa14a61127be51267a5ad0c430f90 (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 582348ce86ac20e0bb92079e5f15ba9b05f60a66
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Jul 14 15:08:40 2011 -0700

    [trac772] some more trivial editorial fixes

commit 92bf1032800f3365a5d8eb5052a2a045495ca646
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Jul 14 14:32:39 2011 -0700

    [trac772] trivial editorial cleanup

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

Summary of changes:
 src/bin/xfrout/tests/xfrout_test.py.in |    3 +--
 src/bin/xfrout/xfrout.py.in            |    6 +-----
 2 files changed, 2 insertions(+), 7 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/xfrout/tests/xfrout_test.py.in b/src/bin/xfrout/tests/xfrout_test.py.in
index b20e090..f881a06 100644
--- a/src/bin/xfrout/tests/xfrout_test.py.in
+++ b/src/bin/xfrout/tests/xfrout_test.py.in
@@ -546,7 +546,6 @@ class MyUnixSockServer(UnixSockServer):
         self._max_transfers_out = 10
         self._cc = MyCCSession()
         self._common_init()
-        #self._log = isc.log.NSLogger('xfrout', '', severity = 'critical', log_to_console = False )
 
 class TestUnixSockServer(unittest.TestCase):
     def setUp(self):
@@ -592,7 +591,7 @@ class TestUnixSockServer(unittest.TestCase):
                                              socket.AI_NUMERICHOST)[0][4])
         self.assertEqual(isc.acl.acl.REJECT, self.unix._acl.execute(context))
 
-    def test_updata_config_data(self):
+    def test_update_config_data(self):
         self.check_default_ACL()
         tsig_key_str = 'example.com:SFuWd/q99SzF8Yzd1QbB9g=='
         tsig_key_list = [tsig_key_str]
diff --git a/src/bin/xfrout/xfrout.py.in b/src/bin/xfrout/xfrout.py.in
index 1b71d47..02c0ef9 100755
--- a/src/bin/xfrout/xfrout.py.in
+++ b/src/bin/xfrout/xfrout.py.in
@@ -399,7 +399,6 @@ class UnixSockServer(socketserver_mixin.NoPollMixIn, ThreadingUnixStreamServer):
         self._shutdown_event = shutdown_event
         self._write_sock, self._read_sock = socket.socketpair()
         self._common_init()
-        #self._log = log
         self.update_config_data(config_data)
         self._cc = cc
 
@@ -496,7 +495,7 @@ class UnixSockServer(socketserver_mixin.NoPollMixIn, ThreadingUnixStreamServer):
            socket
         """
         # This uses a trick. If the socket is IPv4 in reality and we pretend
-        # it to to be IPv6, it returns IPv4 address anyway. This doesn't seem
+        # it to be IPv6, it returns IPv4 address anyway. This doesn't seem
         # to care about the SOCK_STREAM parameter at all (which it really is,
         # except for testing)
         if socket.has_ipv6:
@@ -614,9 +613,6 @@ class XfroutServer:
         self._config_data = self._cc.get_full_config()
         self._cc.start()
         self._cc.add_remote_config(AUTH_SPECFILE_LOCATION);
-        #self._log = isc.log.NSLogger(self._config_data.get('log_name'), self._config_data.get('log_file'),
-        #                        self._config_data.get('log_severity'), self._config_data.get('log_versions'),
-        #                        self._config_data.get('log_max_bytes'), True)
         self._start_xfr_query_listener()
         self._start_notifier()
 




More information about the bind10-changes mailing list