From: Zac Medico Date: Tue, 5 Oct 2010 15:37:22 +0000 (-0700) Subject: Show status when listing pkgs for emerge --regen. X-Git-Tag: v2.1.9.14~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=37a337761cb32c7f7ab2d9aa2b9f9eeecbdf4e1c;p=portage.git Show status when listing pkgs for emerge --regen. --- diff --git a/pym/_emerge/MetadataRegen.py b/pym/_emerge/MetadataRegen.py index f90e5dd6c..bb7bb149c 100644 --- a/pym/_emerge/MetadataRegen.py +++ b/pym/_emerge/MetadataRegen.py @@ -34,7 +34,9 @@ class MetadataRegen(PollScheduler): self._error_count = 0 def _iter_every_cp(self): + portage.writemsg_stdout("Listing available packages...\n") every_cp = self._portdb.cp_all() + portage.writemsg_stdout("Regenerating cache entries...\n") every_cp.sort(reverse=True) try: while True: diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 04f471967..322e4d497 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1828,7 +1828,6 @@ def action_regen(settings, portdb, max_jobs, max_load): xterm_titles = "notitles" not in settings.features emergelog(xterm_titles, " === regen") #regenerate cache entries - portage.writemsg_stdout("Regenerating cache entries...\n") try: os.close(sys.stdin.fileno()) except SystemExit as e: