]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Fixing lib/cr_tf/handler.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 3 Sep 2021 15:37:46 +0000 (17:37 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 3 Sep 2021 15:37:46 +0000 (17:37 +0200)
lib/cr_tf/handler.py

index 1d60e941e56b324c79e46ff356d426d400942309..8eb0971b6f885d08f57e43483b1a89cc0b740f09 100644 (file)
@@ -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