diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-09-22 18:54:46 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-09-22 18:54:46 +0000 |
commit | 7c27bcd86c26d821952ea9c16189f95e376a71dc (patch) | |
tree | 92f11377f6f1e697b48e377c8761dfc79484d24a /pym/emerge | |
parent | d204f56015eba60cb7f219ecce54d730b3e18051 (diff) | |
download | portage-7c27bcd86c26d821952ea9c16189f95e376a71dc.tar.gz portage-7c27bcd86c26d821952ea9c16189f95e376a71dc.tar.bz2 portage-7c27bcd86c26d821952ea9c16189f95e376a71dc.zip |
Flush stderr and stdout if their file descriptors are in fd_pipes at the beginning of spawn().
svn path=/main/trunk/; revision=7795
Diffstat (limited to 'pym/emerge')
-rw-r--r-- | pym/emerge/__init__.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index d11143d26..652a3d355 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -5400,10 +5400,6 @@ def action_info(settings, trees, myopts, myfiles): if not ebuildpath or not os.path.exists(ebuildpath): out.ewarn("No ebuild found for '%s'" % pkg) continue - # In some cases the above print statements don't flush stdout, so - # it needs to be flushed before allowing a child process to use it - # so that output always shows in the correct order. - sys.stdout.flush() portage.doebuild(ebuildpath, "info", pkgsettings["ROOT"], pkgsettings, debug=(settings.get("PORTAGE_DEBUG", "") == 1), mydbapi=trees[settings["ROOT"]]["vartree"].dbapi, |