summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-12 18:24:17 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-12 18:24:17 +0000
commit34a72f73ecf026a55ca9cc071ee7520d5b992960 (patch)
treef850202bc9918c8d3eb52f519098556a620246d5
parentaf98d89c2ec654cf132d9b830f87418a8089b91b (diff)
downloadportage-34a72f73ecf026a55ca9cc071ee7520d5b992960.tar.gz
portage-34a72f73ecf026a55ca9cc071ee7520d5b992960.tar.bz2
portage-34a72f73ecf026a55ca9cc071ee7520d5b992960.zip
Remove pointless closing of stdin that is done prior to metadata transfer (See bug #136404).
svn path=/main/trunk/; revision=3499
-rwxr-xr-xbin/emerge5
1 files changed, 0 insertions, 5 deletions
diff --git a/bin/emerge b/bin/emerge
index 4dba19684..cb93c4e36 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2905,11 +2905,6 @@ if myaction in ["sync","metadata"] and (not "--help" in myopts):
print "!!! rsync setting: ",syncuri,"not recognized; exiting."
sys.exit(1)
- try: # Prevent users from affecting ebuild.sh.
- os.close(sys.stdin.fileno())
- except OSError, e:
- pass
-
if updatecache_flg and \
myaction != "metadata" and \
"metadata-transfer" not in portage.settings.features: