aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-05-07 22:09:19 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-05-07 22:09:19 +0000
commit3d8f88882add0cd1671fe342d5db68808cc0cf8d (patch)
treea079770163990c920874b8ef55f99c945ce1b3d1
parentAdd patch from Robert Buchholz: Use summarylist() to format output so we get ... (diff)
downloadgentoolkit-3d8f88882add0cd1671fe342d5db68808cc0cf8d.tar.gz
gentoolkit-3d8f88882add0cd1671fe342d5db68808cc0cf8d.tar.bz2
gentoolkit-3d8f88882add0cd1671fe342d5db68808cc0cf8d.zip
Add patch from Robert Buchholz: Sort glsa list output.
svn path=/branches/gentoolkit-0.2.4/; revision=631
-rwxr-xr-xsrc/glsa-check/glsa-check1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsa-check/glsa-check b/src/glsa-check/glsa-check
index a0bed1e..0dd3aff 100755
--- a/src/glsa-check/glsa-check
+++ b/src/glsa-check/glsa-check
@@ -192,6 +192,7 @@ def summarylist(myglsalist, fd1=sys.stdout, fd2=sys.stderr):
fd2.write(green("[U]")+" means the system is not affected and\n")
fd2.write(red("[N]")+" indicates that the system might be affected.\n\n")
+ myglsalist.sort()
for myid in myglsalist:
try:
myglsa = Glsa(myid, glsaconfig)