diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2011-04-26 13:00:27 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2011-04-26 13:00:27 (GMT) |
commit | 75e6ed18d0837d7d0558432b4233bbc1d8fd19dd (patch) | |
tree | ed2d8793be988f33c94d56e957d222aa36a3679e /Lib | |
parent | f2b3f780a160347b0759b8d0f8ea9c41a456f724 (diff) | |
parent | 7cfe5f88ce42cd28969605bb0b8df37d0200cf39 (diff) | |
download | cpython-75e6ed18d0837d7d0558432b4233bbc1d8fd19dd.zip cpython-75e6ed18d0837d7d0558432b4233bbc1d8fd19dd.tar.gz cpython-75e6ed18d0837d7d0558432b4233bbc1d8fd19dd.tar.bz2 |
merge from 3.1 codeline.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/getpass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/getpass.py b/Lib/getpass.py index ce04566..dc02bd1 100644 --- a/Lib/getpass.py +++ b/Lib/getpass.py @@ -62,7 +62,7 @@ def unix_getpass(prompt='Password: ', stream=None): try: old = termios.tcgetattr(fd) # a copy to save new = old[:] - new[3] &= ~(termios.ECHO|termios.ISIG) # 3 == 'lflags' + new[3] &= ~termios.ECHO # 3 == 'lflags' tcsetattr_flags = termios.TCSAFLUSH if hasattr(termios, 'TCSASOFT'): tcsetattr_flags |= termios.TCSASOFT |