Bug #261675 - Also don't call digestgen() from parallel-fetch processes.
authorZac Medico <zmedico@gentoo.org>
Mon, 9 Mar 2009 02:04:34 +0000 (02:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 9 Mar 2009 02:04:34 +0000 (02:04 -0000)
svn path=/main/trunk/; revision=12798

pym/portage/__init__.py

index 66fc8d8bd819d3d3ac4b370aa34b62bd47debe79..fe3a7b1684621637f730a357fb21355ec5fb4429 100644 (file)
@@ -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)