summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-25 19:41:56 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-25 19:41:56 +0000
commit52badd48f9a7ff1cfbdb6beded1727341b52a20b (patch)
tree7d7d84332205d129c2d177b2321fac4fd5237bc8
parentaa52ccdf6ac76d6f440f565371c0b675478d7271 (diff)
downloadportage-52badd48f9a7ff1cfbdb6beded1727341b52a20b.tar.gz
portage-52badd48f9a7ff1cfbdb6beded1727341b52a20b.tar.bz2
portage-52badd48f9a7ff1cfbdb6beded1727341b52a20b.zip
For bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.
svn path=/main/trunk/; revision=7034
-rw-r--r--pym/emerge/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 3be9614b5..57447e8f1 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -2995,6 +2995,7 @@ class MergeTask(object):
portage.config(clone=trees["/"]["vartree"].settings)
def merge(self, mylist, favorites, mtimedb):
+ from portage.elog import elog_process
failed_fetches = []
fetchonly = "--fetchonly" in self.myopts or \
"--fetch-all-uri" in self.myopts
@@ -3228,6 +3229,8 @@ class MergeTask(object):
pkgsettings, self.edebug, mydbapi=portdb,
tree="porttree")
del pkgsettings["PORTAGE_BINPKG_TMPFILE"]
+ if "--buildpkgonly" in self.myopts:
+ elog_process(pkg_key, pkgsettings)
if retval != os.EX_OK:
return retval
bintree = self.trees[myroot]["bintree"]