summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-05 08:37:22 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-05 08:37:22 -0700
commit33e80959e7a7996ee78320a18922c16bafe66c21 (patch)
treef4f77f7ae83a5be8b98dd15e12fe3f350344f715
parent4746e9eab88ace07fcf53781892564e60f157aad (diff)
downloadportage-33e80959e7a7996ee78320a18922c16bafe66c21.tar.gz
portage-33e80959e7a7996ee78320a18922c16bafe66c21.tar.bz2
portage-33e80959e7a7996ee78320a18922c16bafe66c21.zip
Show status when listing pkgs for emerge --regen.
-rw-r--r--pym/_emerge/MetadataRegen.py2
-rw-r--r--pym/_emerge/actions.py1
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 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: