DebugClients/Python3/getpass.py

changeset 96
9624a110667d
parent 13
1af94a91f439
child 791
9ec2ac20e54e
diff -r 261bc03812fd -r 9624a110667d DebugClients/Python3/getpass.py
--- a/DebugClients/Python3/getpass.py	Sun Jan 31 16:15:16 2010 +0000
+++ b/DebugClients/Python3/getpass.py	Sun Jan 31 17:11:22 2010 +0000
@@ -13,8 +13,6 @@
 is to provide a debugger compatible variant of the a.m. functions.
 """
 
-import sys
-
 __all__ = ["getpass", "getuser"]
 
 def getuser():
@@ -46,7 +44,7 @@
     @param prompt Prompt to be shown to the user (string)
     @return Password entered by the user (string)
     """
-    return raw_input(prompt, 0)
+    return input(prompt, False)
     
 unix_getpass = getpass
 win_getpass = getpass

eric ide

mercurial