Kaydet (Commit) 1c76044e authored tarafından Brian Curtin's avatar Brian Curtin

Merged revisions 87306 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87306 | brian.curtin | 2010-12-15 21:24:49 -0600 (Wed, 15 Dec 2010) | 2 lines

  EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.
........
üst 3efdf063
...@@ -166,12 +166,7 @@ except (ImportError, AttributeError): ...@@ -166,12 +166,7 @@ except (ImportError, AttributeError):
try: try:
import msvcrt import msvcrt
except ImportError: except ImportError:
try: getpass = fallback_getpass
from EasyDialogs import AskPassword
except ImportError:
getpass = fallback_getpass
else:
getpass = AskPassword
else: else:
getpass = win_getpass getpass = win_getpass
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment