projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23989b3
)
Revert accidental hunk from bug 198491. Haven't tested
author
Zac Medico
<zmedico@gentoo.org>
Fri, 9 Nov 2007 01:54:28 +0000
(
01:54
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 9 Nov 2007 01:54:28 +0000
(
01:54
-0000)
this yet.
svn path=/main/trunk/; revision=8472
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index a21f29283ad570e73aa7529d79d8268b3a5dbe85..f5ea0318afd154ed8cc57b82e285391b9fb75f3b 100644
(file)
--- 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