[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. eda668423fa87898c59d1075118693714aa5a053

Holger Levsen holger at layer-acht.org
Fri Dec 23 10:26:08 UTC 2011


The following commit has been merged in the master branch:
commit 5919bd3cad10c06d6edca74064e9caf11a2f365f
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Nov 21 15:17:44 2011 +0100

    sort binary packages by name
    
    in create_source_summary(), output an alphanumerically sorted
    list of the binary packages
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts-report.py b/piuparts-report.py
index dc9b3c9..e55afa4 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -764,7 +764,7 @@ class Section:
         success = True
         failed = False
         binaryrows = ""
-        for binary in binaries.split(", "):
+        for binary in sorted(binaries.split(", ")):
           state = self._binary_db.state_by_name(binary)
           if state == "unknown":
             # Don't track udebs and binary packages on other archs. 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list