From 3e12fa5652ef4ab68c0fb33deb21c9b2bc284771 Mon Sep 17 00:00:00 2001 From: genone Date: Tue, 9 Oct 2007 19:45:19 +0000 Subject: [PATCH] base 'affected' target on 'new' instead of 'all' svn path=/; revision=452 --- trunk/ChangeLog | 4 ++++ trunk/src/glsa-check/glsa-check | 4 ++-- 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 + * 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 * 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: -- 2.26.2