Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Zac Medico (zmedico)" <zmedico@g.o>
Subject: portage r9845 - main/branches/2.1.2/pym
Date: Fri, 11 Apr 2008 21:58:31 +0000
Author: zmedico
Date: 2008-04-11 21:58:31 +0000 (Fri, 11 Apr 2008)
New Revision: 9845

Modified:
   main/branches/2.1.2/pym/getbinpkg.py
Log:
Make file_get() redirect FETCHCOMMAND output to stdout just like
portage.fetch() does. Thanks to Ramereth for reporting. (trunk r9844)


Modified: main/branches/2.1.2/pym/getbinpkg.py
===================================================================
--- main/branches/2.1.2/pym/getbinpkg.py	2008-04-11 21:58:06 UTC (rev 9844)
+++ main/branches/2.1.2/pym/getbinpkg.py	2008-04-11 21:58:31 UTC (rev 9845)
@@ -398,7 +398,12 @@
 	lexer = shlex.shlex(StringIO.StringIO(fcmd), posix=True)
 	lexer.whitespace_split = True
 	myfetch = [varexpand(x, mydict=variables) for x in lexer]
-	retval = spawn(myfetch, env=os.environ.copy())
+	fd_pipes= {
+		0:sys.stdin.fileno(),
+		1:sys.stdout.fileno(),
+		2:sys.stdout.fileno()
+	}
+	retval = spawn(myfetch, env=os.environ.copy(), fd_pipes=fd_pipes)
 	if retval != os.EX_OK:
 		sys.stderr.write("Fetcher exited with a failure condition.\n")
 		return 0

-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
portage r9844 - main/trunk/pym/portage
Next by thread:
gentoo-x86 commit in dev-ml/res: res-2.2.5.ebuild ChangeLog
Previous by date:
portage r9844 - main/trunk/pym/portage
Next by date:
gentoo-x86 commit in dev-ml/res: res-2.2.5.ebuild ChangeLog


Updated Apr 26, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.