From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C6A21382C5 for ; Mon, 29 Mar 2021 00:30:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65888E0825; Mon, 29 Mar 2021 00:30:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49618E0825 for ; Mon, 29 Mar 2021 00:30:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8150D335C8E for ; Mon, 29 Mar 2021 00:30:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 041C1634 for ; Mon, 29 Mar 2021 00:30:16 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1616977793.482177991dd27f2e776176233c097dfa6ea84439.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/glsa-check X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 482177991dd27f2e776176233c097dfa6ea84439 X-VCS-Branch: master Date: Mon, 29 Mar 2021 00:30:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 907667b4-1040-4de8-81de-f4a46e8649f2 X-Archives-Hash: 6be7214399939558c2e725167862e65c commit: 482177991dd27f2e776176233c097dfa6ea84439 Author: Zac Medico gentoo org> AuthorDate: Mon Mar 29 00:27:26 2021 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Mar 29 00:29:53 2021 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=48217799 glsa-check: suppress line 293 newline for --quiet (bug 719260) Bug: https://bugs.gentoo.org/719260#c2 Reported-by: Ramon Fischer hotmail.de> Signed-off-by: Zac Medico gentoo.org> bin/glsa-check | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/glsa-check b/bin/glsa-check index a3e7aa043..c8610f7df 100755 --- a/bin/glsa-check +++ b/bin/glsa-check @@ -290,7 +290,8 @@ if mode in ["dump", "fix", "inject", "pretend"]: elif mode == "inject": sys.stdout.write("injecting " + myid + "\n") myglsa.inject() - sys.stdout.write("\n") + if not quiet: + sys.stdout.write("\n") sys.exit(0) # test is a bit different as Glsa.test() produces no output