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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 76AFB158089 for ; Sat, 11 Nov 2023 02:55:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9825D2BC018; Sat, 11 Nov 2023 02:55:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FA852BC018 for ; Sat, 11 Nov 2023 02:55:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2430335D27 for ; Sat, 11 Nov 2023 02:55:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF89B1360 for ; Sat, 11 Nov 2023 02:55:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1699671328.49c573054764768a51a4764c6e642b038c8e55d4.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: /, lib/portage/package/ebuild/ X-VCS-Repository: proj/portage X-VCS-Files: NEWS lib/portage/package/ebuild/config.py X-VCS-Directories: / lib/portage/package/ebuild/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 49c573054764768a51a4764c6e642b038c8e55d4 X-VCS-Branch: master Date: Sat, 11 Nov 2023 02:55:31 +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: b68a9c53-9db6-46d1-9746-785609424457 X-Archives-Hash: b80ea4d2b996443575a8d3ab1dedad87 commit: 49c573054764768a51a4764c6e642b038c8e55d4 Author: wh0 users noreply github com> AuthorDate: Mon Nov 6 17:39:50 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 11 02:55:28 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=49c57305 ebuild: add some missing newlines in errors Closes: https://github.com/gentoo/portage/pull/1177 Signed-off-by: Sam James gentoo.org> NEWS | 3 +++ lib/portage/package/ebuild/config.py | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 1e589c1f8d..362266369f 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,9 @@ portage-3.0.56 (UNRELEASED) Features: * sync: git: Add sync-git-verify-max-age-days option. +Bug fixes: +* ebuild: Add missing newlines in error messages. + portage-3.0.55 (2023-11-06) -------------- diff --git a/lib/portage/package/ebuild/config.py b/lib/portage/package/ebuild/config.py index f51886c33e..8a57e0c145 100644 --- a/lib/portage/package/ebuild/config.py +++ b/lib/portage/package/ebuild/config.py @@ -1565,7 +1565,7 @@ class config: except KeyError as e: writemsg( "!!! BINPKG_COMPRESS contains invalid or " - "unsupported compression method: %s" % e.args[0], + "unsupported compression method: %s\n" % e.args[0], noiselevel=-1, ) else: @@ -1587,7 +1587,7 @@ class config: except IndexError as e: writemsg( "!!! BINPKG_COMPRESS contains invalid or " - "unsupported compression method: %s" % e.args[0], + "unsupported compression method: %s\n" % e.args[0], noiselevel=-1, ) else: @@ -1595,7 +1595,7 @@ class config: missing_package = compression["package"] writemsg( "!!! BINPKG_COMPRESS unsupported %s. " - "Missing package: %s" + "Missing package: %s\n" % (binpkg_compression, missing_package), noiselevel=-1, )