summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/glsa-check1
-rw-r--r--pym/portage/glsa.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/glsa-check b/bin/glsa-check
index 82fb5e49d..f789af1ec 100644
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -167,6 +167,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, portage.settings, vardb, portdb)
diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py
index e44c279b1..f0d99c8c1 100644
--- a/pym/portage/glsa.py
+++ b/pym/portage/glsa.py
@@ -613,7 +613,7 @@ class Glsa:
@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):
"""