For bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.
authorZac Medico <zmedico@gentoo.org>
Mon, 25 Jun 2007 19:41:56 +0000 (19:41 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 25 Jun 2007 19:41:56 +0000 (19:41 -0000)
svn path=/main/trunk/; revision=7034

pym/emerge/__init__.py

index 3be9614b59fe9cc67b13c6190cc0ae528aad9401..57447e8f1b63867ad4a4528dabd4eb155d6b8ba5 100644 (file)
@@ -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"]