summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-11-09 01:54:28 +0000
committerZac Medico <zmedico@gentoo.org>2007-11-09 01:54:28 +0000
commit1c833a03807f248c7655a0c8d7bbf86ae6c9ada1 (patch)
tree208e3378b76600b5ad96e57b62bed4bb2295f9cd
parent23989b300a7f13f37dbaf6ae19efceca85471f1e (diff)
downloadportage-1c833a03807f248c7655a0c8d7bbf86ae6c9ada1.tar.gz
portage-1c833a03807f248c7655a0c8d7bbf86ae6c9ada1.tar.bz2
portage-1c833a03807f248c7655a0c8d7bbf86ae6c9ada1.zip
Revert accidental hunk from bug 198491. Haven't tested
this yet. svn path=/main/trunk/; revision=8472
-rw-r--r--pym/portage/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index a21f29283..f5ea0318a 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2616,11 +2616,6 @@ def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero
writemsg("openpty failed: '%s'\n" % str(e), noiselevel=1)
del e
master_fd, slave_fd = os.pipe()
- if got_pty:
- import termios
- mode = termios.tcgetattr(slave_fd)
- mode[1] &= ~termios.OPOST
- termios.tcsetattr(slave_fd, termios.TCSANOW, mode)
# We must set non-blocking mode before we close the slave_fd
# since otherwise the fcntl call can fail on FreeBSD (the child