Revert "cqlsh: check for non-empty history file before loading"

This reverts commit 6a8ba07313.
This commit is contained in:
Brandon Williams 2012-09-17 20:44:02 -05:00
parent 6ad7d45ad5
commit 4d600f3381
1 changed files with 1 additions and 1 deletions

View File

@ -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("'", "")