summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-09 02:04:34 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-09 02:04:34 +0000
commita5194b77707e92f91e7be6087511506e6a6d7ef7 (patch)
tree6096b6dd4d1f3f3777a86569cc387fda5ff6e4ac
parentee9daa0869866b7880dbfc5122924555444e12c2 (diff)
downloadportage-a5194b77707e92f91e7be6087511506e6a6d7ef7.tar.gz
portage-a5194b77707e92f91e7be6087511506e6a6d7ef7.tar.bz2
portage-a5194b77707e92f91e7be6087511506e6a6d7ef7.zip
Bug #261675 - Also don't call digestgen() from parallel-fetch processes.
svn path=/main/trunk/; revision=12798
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 66fc8d8bd..fe3a7b168 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -6009,7 +6009,8 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
elif mydo == "digest":
return not digestgen(aalist, mysettings, overwrite=1,
myportdb=mydbapi)
- elif not emerge_skip_digest and "digest" in mysettings.features:
+ elif not emerge_skip_digest and not parallel_fetchonly and \
+ "digest" in mysettings.features:
digestgen(aalist, mysettings, overwrite=0, myportdb=mydbapi)
except portage.exception.PermissionDenied, e:
writemsg("!!! Permission Denied: %s\n" % (e,), noiselevel=-1)