DebugClients/Python3/getpass.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1509
c0b5e693b0eb
--- a/DebugClients/Python3/getpass.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/DebugClients/Python3/getpass.py	Fri Mar 11 16:51:57 2011 +0100
@@ -15,6 +15,7 @@
 
 __all__ = ["getpass", "getuser"]
 
+
 def getuser():
     """
     Function to get the username from the environment or password database.
@@ -37,7 +38,8 @@
     import pwd
     return pwd.getpwuid(os.getuid())[0]
 
-def getpass(prompt = 'Password: '):
+
+def getpass(prompt='Password: '):
     """
     Function to prompt for a password, with echo turned off.
     

eric ide

mercurial