summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2011-04-26 13:00:27 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2011-04-26 13:00:27 (GMT)
commit75e6ed18d0837d7d0558432b4233bbc1d8fd19dd (patch)
treeed2d8793be988f33c94d56e957d222aa36a3679e /Lib
parentf2b3f780a160347b0759b8d0f8ea9c41a456f724 (diff)
parent7cfe5f88ce42cd28969605bb0b8df37d0200cf39 (diff)
downloadcpython-75e6ed18d0837d7d0558432b4233bbc1d8fd19dd.zip
cpython-75e6ed18d0837d7d0558432b4233bbc1d8fd19dd.tar.gz
cpython-75e6ed18d0837d7d0558432b4233bbc1d8fd19dd.tar.bz2
merge from 3.1 codeline.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/getpass.py2
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