Remove pointless closing of stdin that is done prior to metadata transfer (See bug...
authorZac Medico <zmedico@gentoo.org>
Mon, 12 Jun 2006 18:24:17 +0000 (18:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 12 Jun 2006 18:24:17 +0000 (18:24 -0000)
svn path=/main/trunk/; revision=3499

bin/emerge

index 4dba19684a85149acf1697f54bf26112a785f08e..cb93c4e3679a6e04da809c5e0890c738951bbf04 100755 (executable)
@@ -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: