Gentoo Archives: gentoo-commits

From: "Marius Mauch (genone)" <genone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11591 - in main/trunk: bin pym/portage
Date: Sun, 28 Sep 2008 18:58:33
Message-Id: E1Kk1TS-0000ta-AE@stork.gentoo.org
1 Author: genone
2 Date: 2008-09-28 18:58:29 +0000 (Sun, 28 Sep 2008)
3 New Revision: 11591
4
5 Modified:
6 main/trunk/bin/glsa-check
7 main/trunk/pym/portage/glsa.py
8 Log:
9 sort summarylist output (patch by Robert Buchholz <rbu@g.o>)
10
11 Modified: main/trunk/bin/glsa-check
12 ===================================================================
13 --- main/trunk/bin/glsa-check 2008-09-28 18:50:02 UTC (rev 11590)
14 +++ main/trunk/bin/glsa-check 2008-09-28 18:58:29 UTC (rev 11591)
15 @@ -167,6 +167,7 @@
16 fd2.write(green("[U]")+" means the system is not affected and\n")
17 fd2.write(red("[N]")+" indicates that the system might be affected.\n\n")
18
19 + myglsalist.sort()
20 for myid in myglsalist:
21 try:
22 myglsa = Glsa(myid, portage.settings, vardb, portdb)
23
24 Modified: main/trunk/pym/portage/glsa.py
25 ===================================================================
26 --- main/trunk/pym/portage/glsa.py 2008-09-28 18:50:02 UTC (rev 11590)
27 +++ main/trunk/pym/portage/glsa.py 2008-09-28 18:58:29 UTC (rev 11591)
28 @@ -613,7 +613,7 @@
29 @rtype: Boolean
30 @returns: True if the GLSA was applied, False if not
31 """
32 - return (self.nr in get_applied_glsas())
33 + return (self.nr in get_applied_glsas(self.config))
34
35 def inject(self):
36 """