Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 522811048D for ; Sat, 27 Jul 2013 01:43:50 +0000 (UTC) Received: (qmail 62156 invoked by uid 500); 27 Jul 2013 01:43:50 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 62133 invoked by uid 500); 27 Jul 2013 01:43:50 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 62125 invoked by uid 99); 27 Jul 2013 01:43:50 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jul 2013 01:43:50 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id ECCFEF015; Sat, 27 Jul 2013 01:43:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aleksey@apache.org To: commits@cassandra.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: cqlsh: correct the rest of libedit detection on windows Date: Sat, 27 Jul 2013 01:43:49 +0000 (UTC) Updated Branches: refs/heads/cassandra-1.2 af4e1275e -> 187f73f89 cqlsh: correct the rest of libedit detection on windows Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/187f73f8 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/187f73f8 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/187f73f8 Branch: refs/heads/cassandra-1.2 Commit: 187f73f89730b0a37f556eb487f496839c265c70 Parents: af4e127 Author: Aleksey Yeschenko Authored: Sat Jul 27 04:43:40 2013 +0300 Committer: Aleksey Yeschenko Committed: Sat Jul 27 04:43:40 2013 +0300 ---------------------------------------------------------------------- bin/cqlsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/187f73f8/bin/cqlsh ---------------------------------------------------------------------- diff --git a/bin/cqlsh b/bin/cqlsh index 4f49862..59aac0d 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -846,7 +846,7 @@ class Shell(cmd.Cmd): else: old_completer = readline.get_completer() readline.set_completer(self.complete) - if 'libedit' in readline.__doc__: + if readline.__doc__ is not None and 'libedit' in readline.__doc__: readline.parse_and_bind("bind -e") readline.parse_and_bind("bind '" + self.completekey + "' rl_complete") else: