EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.

This commit is contained in:
Brian Curtin 2010-12-16 03:24:49 +00:00
parent 971dc01e8a
commit ff47a133e1

View file

@ -166,12 +166,7 @@ def getuser():
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: