From: Zac Medico Date: Mon, 12 Jun 2006 18:24:17 +0000 (-0000) Subject: Remove pointless closing of stdin that is done prior to metadata transfer (See bug... X-Git-Tag: v2.1.1~495 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34a72f73ecf026a55ca9cc071ee7520d5b992960;p=portage.git Remove pointless closing of stdin that is done prior to metadata transfer (See bug #136404). svn path=/main/trunk/; revision=3499 --- 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: