summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgenone <genone@gentoo.org>2007-10-09 19:45:19 +0000
committergenone <genone@gentoo.org>2007-10-09 19:45:19 +0000
commit3e12fa5652ef4ab68c0fb33deb21c9b2bc284771 (patch)
treea7ae66f88f13696d1302aa82b134e6c5f20f0fad
parent417eeb43e5c95c60331e3ef111d6808ce0cba8e5 (diff)
downloadgentoolkit-3e12fa5652ef4ab68c0fb33deb21c9b2bc284771.tar.gz
base 'affected' target on 'new' instead of 'all'
svn path=/; revision=452
-rw-r--r--trunk/ChangeLog4
-rw-r--r--trunk/src/glsa-check/glsa-check4
2 files changed, 6 insertions, 2 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index 38cb151..199b8f5 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-09: Marius Mauch <genone@gentoo.org>
+ * glsa-check: Change "affected" target so it's based on "new" instead of
+ "all" (IOW: exclude already applied/injected GLSAs).
+
2007-10-05: Marius Mauch <genone@gentoo.org>
* glsa-check: Use UTF-8 strings to avoid EncodeErrors if a GLSA contains
non-ascii characters (bug #162493)
diff --git a/trunk/src/glsa-check/glsa-check b/trunk/src/glsa-check/glsa-check
index 62e4449..07d1005 100644
--- a/trunk/src/glsa-check/glsa-check
+++ b/trunk/src/glsa-check/glsa-check
@@ -162,8 +162,8 @@ if "all" in params:
glsalist = completelist
params.remove("all")
if "affected" in params:
- # maybe this should be todolist instead
- for x in completelist:
+ # replaced completelist with todolist on request of wschlich
+ for x in todolist:
try:
myglsa = Glsa(x, glsaconfig)
except (GlsaTypeException, GlsaFormatException), e: