BIND 10 trac588, updated. 065327bbba5925b882af5230e5d312750e619a91 [trac588] Typos
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Mar 11 09:42:21 UTC 2011
The branch, trac588 has been updated
via 065327bbba5925b882af5230e5d312750e619a91 (commit)
from a72483929eb91cf20d41ca5c40bd6ba8b6f31e60 (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 065327bbba5925b882af5230e5d312750e619a91
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Fri Mar 11 10:41:55 2011 +0100
[trac588] Typos
-----------------------------------------------------------------------
Summary of changes:
src/bin/bindctl/bindcmd.py | 2 +-
src/bin/bindctl/tests/bindctl_test.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/bindctl/bindcmd.py b/src/bin/bindctl/bindcmd.py
index 949bc18..99d2631 100644
--- a/src/bin/bindctl/bindcmd.py
+++ b/src/bin/bindctl/bindcmd.py
@@ -127,7 +127,7 @@ class BindCmdInterpreter(Cmd):
except KeyboardInterrupt:
print('\nExit from bindctl')
except socket.error as err:
- print('Fail to send request, the connection is closed')
+ print('Failed to send request, the connection is closed')
except http.client.CannotSendRequest:
print('Can not send request, the connection is busy')
diff --git a/src/bin/bindctl/tests/bindctl_test.py b/src/bin/bindctl/tests/bindctl_test.py
index f29b078..ed47e7f 100644
--- a/src/bin/bindctl/tests/bindctl_test.py
+++ b/src/bin/bindctl/tests/bindctl_test.py
@@ -328,11 +328,11 @@ class TestConfigCommands(unittest.TestCase):
socket_err_output = io.StringIO()
sys.stdout = socket_err_output
self.assertRaises(None, self.tool.run())
- self.assertEqual("Fail to send request, the connection is closed\n",
+ self.assertEqual("Failed to send request, the connection is closed\n",
socket_err_output.getvalue())
socket_err_output.close()
- # validate log messae for http.client.CannotSendRequest
+ # validate log message for http.client.CannotSendRequest
cannot_send_output = io.StringIO()
sys.stdout = cannot_send_output
self.assertRaises(None, self.tool.run())
More information about the bind10-changes
mailing list