Redirect the 'Recording <pkg> in "world" favorites file...' message through
authorZac Medico <zmedico@gentoo.org>
Mon, 21 Jul 2008 00:26:13 +0000 (00:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 21 Jul 2008 00:26:13 +0000 (00:26 -0000)
_status_msg().

svn path=/main/trunk/; revision=11151

pym/_emerge/__init__.py

index a3562f99686e8d7ac00f413ddf2ba15d860c935d..86a1aa3a06d7c3a9c08e59f845447c20052356b5 100644 (file)
@@ -9646,8 +9646,8 @@ class Scheduler(PollScheduler):
                        world_set.load() # maybe it's changed on disk
                        atom = create_world_atom(pkg, args_set, root_config)
                        if atom:
-                               portage.writemsg_stdout(('>>> Recording %s in "world" ' + \
-                                       'favorites file...\n') % atom)
+                               self._status_msg(('Recording %s in "world" ' + \
+                                       'favorites file...') % atom)
                                logger.log(" === (%s of %s) Updating world file (%s)" % \
                                        (pkg_count.curval, pkg_count.maxval, pkg.cpv))
                                world_set.add(atom)