From 233dc0c9c6a66256bc6ebf8d414f96166c5f0439 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 9 Mar 2009 03:47:10 +0000 Subject: [PATCH] Never call digestgen() inside doebuild() which only 'fetch' has been requested since it's not needed in this case. svn path=/main/trunk/; revision=12800 --- pym/portage/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index fe3a7b168..9903cd820 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -6009,8 +6009,11 @@ 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 not parallel_fetchonly and \ + elif mydo != 'fetch' and not emerge_skip_digest and \ "digest" in mysettings.features: + # Don't do this when called by emerge or when called just + # for fetch (especially parallel-fetch) since it's not needed + # and it can interfere with parallel tasks. digestgen(aalist, mysettings, overwrite=0, myportdb=mydbapi) except portage.exception.PermissionDenied, e: writemsg("!!! Permission Denied: %s\n" % (e,), noiselevel=-1) -- 2.26.2