From 15d4ef127ea20c41f41434e7f99bbfbf9961e4f8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 6 Jan 2013 01:14:18 -0800 Subject: [PATCH] MetadataRegen: portdbapi.cp_all() already sorted --- pym/_emerge/MetadataRegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/MetadataRegen.py b/pym/_emerge/MetadataRegen.py index 6203c7851..8dc7ebeee 100644 --- a/pym/_emerge/MetadataRegen.py +++ b/pym/_emerge/MetadataRegen.py @@ -36,7 +36,7 @@ class MetadataRegen(AsyncScheduler): 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) + every_cp.reverse() try: while not self._terminated_tasks: yield every_cp.pop() -- 2.26.2