]> git.itanic.dy.fi Git - emerge-timer/commitdiff
list_pretended: Don't query the all_packages function at all
authorEsko Kokkonen <esko.kokkonen@gmail.com>
Mon, 29 Aug 2011 10:39:21 +0000 (13:39 +0300)
committerEsko Kokkonen <esko.kokkonen@gmail.com>
Mon, 29 Aug 2011 10:39:21 +0000 (13:39 +0300)
This is no longer needed thanks to the previous commit.

emerge-timer.py

index af7858eff11fb11034a8e745fdc9afc01887ab3d..f2885c164ab5029c79878105aeb7af0bbd8ab7b4 100755 (executable)
@@ -309,8 +309,6 @@ def print_current_emerges(f, packages):
 def list_pretended(f):
     """Print the average times of pretended packages"""
 
-    all_packages = list_all_packages()
-
     packages = []
     for line in sys.stdin:
         if "[ebuild" in line: