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.2_rc90~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=33e80959e7a7996ee78320a18922c16bafe66c21;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 3f5668f96..a8fd39b15 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1833,7 +1833,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: