Scheduler: Always display message for pkg_pretend
authorZac Medico <zmedico@gentoo.org>
Sun, 5 Dec 2010 23:15:09 +0000 (15:15 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 6 Dec 2010 00:10:41 +0000 (16:10 -0800)
pym/_emerge/Scheduler.py

index 87dcfcb1436a5c79fa1a908c9c43a18f393047d9..28ba4f45742f40163ac141981aae52d343b467e9 100644 (file)
@@ -979,7 +979,6 @@ class Scheduler(PollScheduler):
                os.execv(mynewargv[0], mynewargv)
 
        def _run_pkg_pretend(self):
-               shown_verifying_msg = False
 
                failures = 0
 
@@ -996,13 +995,8 @@ class Scheduler(PollScheduler):
                        if "pretend" not in x.metadata.defined_phases:
                                continue
 
-                       if not shown_verifying_msg and self._background:
-                               shown_verifying_msg = True
-                               self._status_msg("Running pre-merge checks")
-
-                       if not self._background:
-                               out_str =">>> Running pre-merge checks for " + colorize("INFORM", x.cpv) + "\n"
-                               portage.util.writemsg_stdout(out_str, noiselevel=-1)
+                       out_str =">>> Running pre-merge checks for " + colorize("INFORM", x.cpv) + "\n"
+                       portage.util.writemsg_stdout(out_str, noiselevel=-1)
 
                        root_config = x.root_config
                        settings = self.pkgsettings[root_config.root]