Most users won't see this but having space after prompt still nice for passwords.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 4 Dec 2011 03:59:52 +0000 (21:59 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 4 Dec 2011 03:59:52 +0000 (21:59 -0600)
mediagoblin/gmg_commands/util.py

index 004f9e49da17f5ba6eef24bb1a240577383ff1fb..3e26c53fd1ac3b3de88a55b7a151db958b5c2371 100644 (file)
@@ -35,6 +35,6 @@ def prompt_if_not_set(variable, text, password=False):
         if not password:
             variable=raw_input(text + u' ')
         else:
-            variable=getpass.getpass(text)
+            variable=getpass.getpass(text + u' ')
     
     return variable