public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11591 - in main/trunk: bin pym/portage
@ 2008-09-28 18:58 Marius Mauch (genone)
  0 siblings, 0 replies; only message in thread
From: Marius Mauch (genone) @ 2008-09-28 18:58 UTC (permalink / raw
  To: gentoo-commits

Author: genone
Date: 2008-09-28 18:58:29 +0000 (Sun, 28 Sep 2008)
New Revision: 11591

Modified:
   main/trunk/bin/glsa-check
   main/trunk/pym/portage/glsa.py
Log:
sort summarylist output (patch by Robert Buchholz <rbu@gentoo.org>)

Modified: main/trunk/bin/glsa-check
===================================================================
--- main/trunk/bin/glsa-check	2008-09-28 18:50:02 UTC (rev 11590)
+++ main/trunk/bin/glsa-check	2008-09-28 18:58:29 UTC (rev 11591)
@@ -167,6 +167,7 @@
 	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, portage.settings, vardb, portdb)

Modified: main/trunk/pym/portage/glsa.py
===================================================================
--- main/trunk/pym/portage/glsa.py	2008-09-28 18:50:02 UTC (rev 11590)
+++ main/trunk/pym/portage/glsa.py	2008-09-28 18:58:29 UTC (rev 11591)
@@ -613,7 +613,7 @@
 		@rtype:		Boolean
 		@returns:	True if the GLSA was applied, False if not
 		"""
-		return (self.nr in get_applied_glsas())
+		return (self.nr in get_applied_glsas(self.config))
 
 	def inject(self):
 		"""




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-28 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28 18:58 [gentoo-commits] portage r11591 - in main/trunk: bin pym/portage Marius Mauch (genone)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox