You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jm...@apache.org on 2014/08/11 23:38:04 UTC

[49/50] [abbrv] git commit: Prompt on missing dependency in cqlsh on Windows Patch by Josh McKenzie, reviewed by Jonathan Ellis for CASSANDRA-7749

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/70d9f895
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/70d9f895
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/70d9f895

Branch: refs/heads/cassandra-2.1
Commit: 70d9f895da5ddcdeb2799baffa160fb4eaa72717
Parents: cb8ce83
Author: Joshua McKenzie <Jo...@datastax.com>
Authored: Mon Aug 11 15:30:19 2014 -0500
Committer: Joshua McKenzie <Jo...@datastax.com>
Committed: Mon Aug 11 15:30:19 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/70d9f895/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()