From 70d9f895da5ddcdeb2799baffa160fb4eaa72717 Mon Sep 17 00:00:00 2001 From: Joshua McKenzie Date: Mon, 11 Aug 2014 15:30:19 -0500 Subject: [PATCH] Prompt on missing dependency in cqlsh on Windows Patch by Josh McKenzie, reviewed by Jonathan Ellis for CASSANDRA-7749 --- bin/cqlsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/cqlsh b/bin/cqlsh index a4ad6d0ea2..5b63696ecd 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()