From: genone Date: Tue, 9 Oct 2007 19:45:19 +0000 (-0000) Subject: base 'affected' target on 'new' instead of 'all' X-Git-Tag: gentoolkit-0.2.4.3~61 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3e12fa5652ef4ab68c0fb33deb21c9b2bc284771;p=gentoolkit.git base 'affected' target on 'new' instead of 'all' svn path=/; revision=452 --- 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: