cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject git commit: Prompt on missing dependency in cqlsh on Windows Patch by Josh McKenzie, reviewed by Jonathan Ellis for CASSANDRA-7749
Date Mon, 11 Aug 2014 23:29:03 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 334969fdd -> 384f873ce


Prompt on missing dependency in cqlsh on Windows
Patch by Josh McKenzie, reviewed by Jonathan Ellis for CASSANDRA-7749


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/384f873c
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/384f873c
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/384f873c

Branch: refs/heads/cassandra-2.1
Commit: 384f873ce093f4c870b1657649c2a5b854a18de1
Parents: 334969f
Author: Joshua McKenzie <Josh.McKenzie@datastax.com>
Authored: Mon Aug 11 15:30:19 2014 -0500
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Tue Aug 12 02:28:51 2014 +0300

----------------------------------------------------------------------
 bin/cqlsh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/384f873c/bin/cqlsh
----------------------------------------------------------------------
diff --git a/bin/cqlsh b/bin/cqlsh
index a4ad6d0..5b63696 100755
--- a/bin/cqlsh
+++ b/bin/cqlsh
@@ -728,6 +728,8 @@ class Shell(cmd.Cmd):
             try:
                 import readline
             except ImportError:
+                if platform.system() == 'Windows':
+                    print "WARNING: pyreadline dependency missing.  Install to enable tab
completion."
                 pass
             else:
                 old_completer = readline.get_completer()


Mime
View raw message