From: Zac Medico Date: Mon, 9 Mar 2009 03:47:10 +0000 (-0000) Subject: Never call digestgen() inside doebuild() which only 'fetch' has been X-Git-Tag: v2.2_rc24~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=233dc0c9c6a66256bc6ebf8d414f96166c5f0439;p=portage.git 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 --- 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)