]> granicus.if.org Git - python/commitdiff
EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.
authorBrian Curtin <brian.curtin@gmail.com>
Thu, 16 Dec 2010 03:24:49 +0000 (03:24 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Thu, 16 Dec 2010 03:24:49 +0000 (03:24 +0000)
Lib/getpass.py

index 2eb01fac3daf03c44cde5767b7af832609ea4970..ce0456608e720197c9663d94ded2c8b48955db4c 100644 (file)
@@ -166,12 +166,7 @@ except (ImportError, AttributeError):
     try:
         import msvcrt
     except ImportError:
-        try:
-            from EasyDialogs import AskPassword
-        except ImportError:
-            getpass = fallback_getpass
-        else:
-            getpass = AskPassword
+        getpass = fallback_getpass
     else:
         getpass = win_getpass
 else: