From: Frank Brehm Date: Fri, 3 Sep 2021 15:37:46 +0000 (+0200) Subject: Fixing lib/cr_tf/handler.py X-Git-Tag: 1.5.2^2~31 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=8d838c83df4b1155bcdd6248d17eba297edee672;p=pixelpark%2Fcreate-terraform.git Fixing lib/cr_tf/handler.py --- diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index 1d60e94..8eb0971 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -67,7 +67,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.5.1' +__version__ = '3.5.2' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -96,9 +96,9 @@ def password_input_getch(prompt='', fill_char='*', max_len=64): p_s = p_s[:-1] continue - p_s += to_str(c) - if len(p_s) >= max_len: - break + p_s += to_str(c) + if len(p_s) >= max_len: + break print('', flush=True) return p_s