cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcken...@apache.org
Subject [49/50] [abbrv] 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 21:38:04 GMT
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 <Josh.McKenzie@datastax.com>
Authored: Mon Aug 11 15:30:19 2014 -0500
Committer: Joshua McKenzie <Josh.McKenzie@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()


Mime
View raw message