diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-05 08:37:22 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-06 16:14:40 -0700 |
commit | 37a337761cb32c7f7ab2d9aa2b9f9eeecbdf4e1c (patch) | |
tree | f2568fcebadfe8eff0f0037657960fe875067ec2 | |
parent | cc71be4c6382a27338314e0646d3900fb4557044 (diff) | |
download | portage-37a337761cb32c7f7ab2d9aa2b9f9eeecbdf4e1c.tar.gz portage-37a337761cb32c7f7ab2d9aa2b9f9eeecbdf4e1c.tar.bz2 portage-37a337761cb32c7f7ab2d9aa2b9f9eeecbdf4e1c.zip |
Show status when listing pkgs for emerge --regen.
-rw-r--r-- | pym/_emerge/MetadataRegen.py | 2 | ||||
-rw-r--r-- | pym/_emerge/actions.py | 1 |
2 files changed, 2 insertions, 1 deletions
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: |