aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-08-30 15:14:43 -0700
committerZac Medico <zmedico@gentoo.org>2019-08-30 20:14:01 -0700
commit42787293f725536abaa6b92605e48daae750e803 (patch)
treec80bfab83ae1c9cdd43e16107a0d78d67581fe2b /bin/glsa-check
parentAdd test case for unshare_net code in portage.process (diff)
downloadportage-42787293f725536abaa6b92605e48daae750e803.tar.gz
portage-42787293f725536abaa6b92605e48daae750e803.tar.bz2
portage-42787293f725536abaa6b92605e48daae750e803.zip
glsa-check: Fix traceback with glsa-check -f (Bug 275105)
This patch is a forward port of the following commit: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=232d69fa230abb490e0b0f8eef550f28745be6a3 commit 232d69fa230abb490e0b0f8eef550f28745be6a3 Author: fuzzyray <fuzzyray@gentoo.org> AuthorDate: 2009-06-22 20:45:49 +0000 Commit: fuzzyray <fuzzyray@gentoo.org> CommitDate: 2009-06-22 20:45:49 +0000 Fix traceback with glsa-check -f (Bug 275105) svn path=/trunk/gentoolkit/; revision=665 Bug: https://bugs.gentoo.org/693088 Acked-by: Aaron Bauman <bman@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'bin/glsa-check')
-rwxr-xr-xbin/glsa-check4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/glsa-check b/bin/glsa-check
index f6c744d84..3502812d9 100755
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -248,8 +248,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":
if not quiet:
sys.stdout.write("Checking GLSA "+myid+"\n")