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 E5ED2158041 for ; Wed, 28 Feb 2024 15:49:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3256FE2A6E; Wed, 28 Feb 2024 15:49:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 14253E2A6E for ; Wed, 28 Feb 2024 15:49:22 +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 4F361343007 for ; Wed, 28 Feb 2024 15:49:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E427E95 for ; Wed, 28 Feb 2024 15:49:19 +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: <1709135356.f070275fe05d5053c3756ebb5d0a602db8ba515d.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/binpkg.py X-VCS-Directories: lib/portage/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f070275fe05d5053c3756ebb5d0a602db8ba515d X-VCS-Branch: master Date: Wed, 28 Feb 2024 15:49:19 +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: ce0948d1-3f96-4b3e-a897-e13e8a634393 X-Archives-Hash: beda495a29652e5afc467fa4a50bfc00 commit: f070275fe05d5053c3756ebb5d0a602db8ba515d Author: Sam James gentoo org> AuthorDate: Wed Feb 28 15:48:48 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Feb 28 15:49:16 2024 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f070275f binpkg: add another missing newline to error message ``` Error reading binpkg '/var/cache/binpkgs/dev-perl/SGMLSpm/SGMLSpm-1.1-r2-7.gpkg.tar': [Errno 22] Invalid argument!!! Invalid binary package: '/var/cache/binpkgs/dev-perl/SGMLSpm/SGMLSpm-1.1-r2-7.gpkg.tar', Error reading binpkg '/var/cache/binpkgs/dev-perl/SGMLSpm/SGMLSpm-1.1-r2-7.gpkg.tar': [Errno 22] Invalid argument ``` Bug: https://bugs.gentoo.org/925714 Signed-off-by: Sam James gentoo.org> lib/portage/binpkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portage/binpkg.py b/lib/portage/binpkg.py index 9ecd52cf3c..a48e09bdb8 100644 --- a/lib/portage/binpkg.py +++ b/lib/portage/binpkg.py @@ -54,7 +54,7 @@ def get_binpkg_format(binpkg_path, check_file=False, remote=False): # We got many different exceptions here, so have to catch all of them. file_format = None writemsg( - colorize("ERR", f"Error reading binpkg '{binpkg_path}': {err}"), + colorize("ERR", f"Error reading binpkg '{binpkg_path}': {err}\n"), ) raise InvalidBinaryPackageFormat(f"Error reading binpkg '{binpkg_path}': {err}")