From 4442ce1c7159c272cd41d85dddf96caab00a073d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 10 Nov 2015 12:56:04 -0500 Subject: [PATCH] No longer break when prompting for name/password In the confetty CLI, readline clear history was done as part of login process. Since readline is not a given to accomodate scripting behaviors, no longer do the clear_history(). The concern I had was that the password might have gotten into history, but that seems to not be the case. --- confluent_client/bin/confetty | 1 - 1 file changed, 1 deletion(-) diff --git a/confluent_client/bin/confetty b/confluent_client/bin/confetty index c31d664f..76c70b56 100755 --- a/confluent_client/bin/confetty +++ b/confluent_client/bin/confetty @@ -601,7 +601,6 @@ def server_connect(): session.authenticate(username, passphrase) while not session.authenticated: username = raw_input("Name: ") - readline.clear_history() passphrase = getpass.getpass("Passphrase: ") session.authenticate(username, passphrase)