Fix traceback with glsa-check -f (Bug 275105)
authorfuzzyray <fuzzyray@gentoo.org>
Mon, 22 Jun 2009 20:45:49 +0000 (20:45 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Mon, 22 Jun 2009 20:45:49 +0000 (20:45 -0000)
svn path=/trunk/gentoolkit/; revision=665

ChangeLog
bin/glsa-check

index d20fca576a39dfff3d85b193fac403289ea5942b..6ccaa4733f72de8bd338fab3e04e72054a7216db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-06-22: Paul Varner <fuzzyray@gentoo.org>
+       * glsa-check: Fix traceback with glsa-check -f (Bug 275105)
+
 2009-06-05: Paul Varner <fuzzyray@gentoo.org>
        * epkginfo: Add patch from Sebastian Mingramm to Make epkginfo slot
        aware and only print keywords for the highest visible versions in each
index c24ef23a4b83cceab783999c7f02f36bc748d882..a66371ce574624340d724f275b617d3086ca0027 100755 (executable)
@@ -287,8 +287,8 @@ if mode in ["dump", "fix", "inject", "pretend"]:
                                                exitcode >>= 8
                                        if exitcode:
                                                sys.exit(exitcode)
-                       if len(mergelist):
-                               sys.stdout.write("\n")
+                               if len(mergelist):
+                                       sys.stdout.write("\n")
                elif mode == "pretend":
                        sys.stdout.write("Checking GLSA "+myid+"\n")
                        if not myglsa.isVulnerable():