From 4d600f338186e2e9c598ccff3e4c6d21327c20c2 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Mon, 17 Sep 2012 20:44:02 -0500 Subject: [PATCH] Revert "cqlsh: check for non-empty history file before loading" This reverts commit 6a8ba07313e2fad8c5a6cf7566bbd77321274c60. --- bin/cqlsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cqlsh b/bin/cqlsh index 5f99e45bc5..3bef14237b 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -2690,7 +2690,7 @@ def setup_cqlruleset(cqlmodule): def main(options, hostname, port): setup_cqlruleset(options.cqlmodule) - if os.path.exists(HISTORY) and readline is not None and readline.get_history_length()>0: + if os.path.exists(HISTORY) and readline is not None: readline.read_history_file(HISTORY) delims = readline.get_completer_delims() delims.replace("'", "")