diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-12-16 03:24:49 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-12-16 03:24:49 (GMT) |
commit | ff47a133e1eee9dab60b86fb0d56ccd1022f841a (patch) | |
tree | 2b88c222604e7eede87e3458ce9dafdf2e40ef05 /Lib | |
parent | 971dc01e8a59bf0c0186d5b104e2a929ec293f27 (diff) | |
download | cpython-ff47a133e1eee9dab60b86fb0d56ccd1022f841a.zip cpython-ff47a133e1eee9dab60b86fb0d56ccd1022f841a.tar.gz cpython-ff47a133e1eee9dab60b86fb0d56ccd1022f841a.tar.bz2 |
EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/getpass.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/getpass.py b/Lib/getpass.py index 2eb01fa..ce04566 100644 --- a/Lib/getpass.py +++ b/Lib/getpass.py @@ -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: |