summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-24 12:03:34 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-27 07:37:30 -0700
commit894771767cd099c5b60220f79d779ccfe331831d (patch)
treea01a16be0c572af83f63da9ff78361ab3198f46a /pym/_emerge/actions.py
parent787412ce791d896ef37f449ab1805294355561ac (diff)
downloadportage-894771767cd099c5b60220f79d779ccfe331831d.tar.gz
portage-894771767cd099c5b60220f79d779ccfe331831d.tar.bz2
portage-894771767cd099c5b60220f79d779ccfe331831d.zip
Fix broken spawn_bash() call.
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r--pym/_emerge/actions.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 0908c2ca2..c75120208 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2386,9 +2386,10 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
"!!! existing '%s' directory; exiting.\n" % myportdir)
sys.exit(1)
del e
- if portage.spawn_bash("cd %s; exec cvs -z0 -d %s co -P gentoo-x86" % \
+ if portage.process.spawn_bash(
+ "cd %s; exec cvs -z0 -d %s co -P gentoo-x86" % \
(portage._shell_quote(cvsdir), portage._shell_quote(cvsroot)),
- settings, free=1):
+ **spawn_kwargs) != os.EX_OK:
print("!!! cvs checkout error; exiting.")
sys.exit(1)
os.rename(os.path.join(cvsdir, "gentoo-x86"), myportdir)