BIND 10 master, updated. 08630dbbb0a9ff4ac81c0ef2b9a45030455fa0a5 [master] Merge branch 'trac2449'
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Nov 7 21:25:08 UTC 2012
The branch, master has been updated
via 08630dbbb0a9ff4ac81c0ef2b9a45030455fa0a5 (commit)
via 5946fa677b76b4b6a16173b9c9f5d835ead4e945 (commit)
from 82ad5754e3df260373096d3fc44320bea114b629 (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 08630dbbb0a9ff4ac81c0ef2b9a45030455fa0a5
Merge: 82ad575 5946fa6
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed Nov 7 13:24:59 2012 -0800
[master] Merge branch 'trac2449'
-----------------------------------------------------------------------
Summary of changes:
src/bin/bindctl/bindcmd.py | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/bin/bindctl/bindcmd.py b/src/bin/bindctl/bindcmd.py
index b4e71bf..37b74e7 100644
--- a/src/bin/bindctl/bindcmd.py
+++ b/src/bin/bindctl/bindcmd.py
@@ -133,7 +133,18 @@ class BindCmdInterpreter(Cmd):
return digest
def run(self):
- '''Parse commands from user and send them to cmdctl. '''
+ '''Parse commands from user and send them to cmdctl.'''
+
+ # Show helper warning about a well known issue. We only do this
+ # when stdin is attached to a terminal, because otherwise it doesn't
+ # matter and is just noisy, and could even be harmful if the output
+ # is processed by a script that expects a specific format.
+ if my_readline == sys.stdin.readline and sys.stdin.isatty():
+ sys.stdout.write("""\
+WARNING: Python readline module isn't available, so the command line editor
+ (including command history management) does not work. See BIND 10
+ guide for more details.\n\n""")
+
try:
if not self.login_to_cmdctl():
return 1
More information about the bind10-changes
mailing list