BIND 10 trac1429, updated. 9f792ee32ba42a44291277d0577196e03a929738 [1429] fixed typo and minor editorial issue
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Dec 5 21:18:57 UTC 2011
The branch, trac1429 has been updated
via 9f792ee32ba42a44291277d0577196e03a929738 (commit)
from 40cfd32c280020af33a28c1501380a17ce604175 (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 9f792ee32ba42a44291277d0577196e03a929738
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Dec 5 13:18:22 2011 -0800
[1429] fixed typo and minor editorial issue
-----------------------------------------------------------------------
Summary of changes:
src/bin/bind10/bind10_src.py.in | 4 ++--
src/bin/bind10/tests/bind10_test.py.in | 4 ++--
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 ae59904..bf10090 100755
--- a/src/bin/bind10/bind10_src.py.in
+++ b/src/bin/bind10/bind10_src.py.in
@@ -844,7 +844,7 @@ class BoB:
share_mode = args['share_mode']
if share_mode not in ['ANY', 'SAMEAPP', 'NO']:
raise ValueError("Share mode must be one of ANY, SAMEAPP" +
- "or NO")
+ " or NO")
share_name = args['share_name']
except KeyError as ke:
return \
@@ -865,7 +865,7 @@ class BoB:
"""
This function handles a token that comes over a unix_domain socket.
The function looks into the _socket_cache and sends the socket
- identified by the tocken back over the unix_socket.
+ identified by the token back over the unix_socket.
"""
try:
fd = self._socket_cache.get_socket(token, unix_socket.fileno())
diff --git a/src/bin/bind10/tests/bind10_test.py.in b/src/bin/bind10/tests/bind10_test.py.in
index ad82c36..e77ca6d 100644
--- a/src/bin/bind10/tests/bind10_test.py.in
+++ b/src/bin/bind10/tests/bind10_test.py.in
@@ -237,7 +237,7 @@ class TestCacheCommands(unittest.TestCase):
"""
def check_code(code, args):
"""
- Pass the args there and check if it returs success or not.
+ Pass the args there and check if it returns success or not.
The rest is not tested, as it is already checked in the
test_get_socket_ok.
@@ -246,7 +246,7 @@ class TestCacheCommands(unittest.TestCase):
self.assertEqual(code, rcode)
if code == 1:
# This should be an error message. The exact formatting
- # is unknown, but we check it is string at last
+ # is unknown, but we check it is string at least
self.assertTrue(isinstance(ranswer, str))
def mod_args(name, value):
"""
More information about the bind10-changes
mailing list