Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
9f792ee3
Commit
9f792ee3
authored
Dec 05, 2011
by
JINMEI Tatuya
Browse files
[1429] fixed typo and minor editorial issue
parent
40cfd32c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/bind10/bind10_src.py.in
View file @
9f792ee3
...
...
@@ -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 to
c
ken 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())
...
...
src/bin/bind10/tests/bind10_test.py.in
View file @
9f792ee3
...
...
@@ -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 retur
n
s 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 l
e
ast
self.assertTrue(isinstance(ranswer, str))
def mod_args(name, value):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment