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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2DB36158094 for ; Tue, 20 Sep 2022 19:46:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 261F1E0827; Tue, 20 Sep 2022 19:45:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 09894E0827 for ; Tue, 20 Sep 2022 19:45:58 +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 D0DE73407E6 for ; Tue, 20 Sep 2022 19:45:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15E885A2 for ; Tue, 20 Sep 2022 19:45:56 +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: <1663703151.f8cb1ef31318d63f183c237f9a129efe77d91f98.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/portage/ X-VCS-Repository: proj/portage X-VCS-Files: lib/portage/getbinpkg.py X-VCS-Directories: lib/portage/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f8cb1ef31318d63f183c237f9a129efe77d91f98 X-VCS-Branch: master Date: Tue, 20 Sep 2022 19:45:56 +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: 33f9a091-a2a3-40fd-a80f-8f823a936c0e X-Archives-Hash: 9ad52e0737b636ab74a3912a6ed6bb0a commit: f8cb1ef31318d63f183c237f9a129efe77d91f98 Author: Sam James gentoo org> AuthorDate: Tue Sep 20 03:50:24 2022 +0000 Commit: Sam James gentoo org> CommitDate: Tue Sep 20 19:45:51 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f8cb1ef3 getbinpkg: fix command list with --getbinpkgonly Observable with say, PORTAGE_BINHOST="rsync://../" set. Bug: https://bugs.gentoo.org/866197 Fixes: 13740f43bcc38e787153d9efeabc4f5d878e7af0 Thanks-to: Sheng Yu protonmail.com> Signed-off-by: Sam James gentoo.org> Closes: https://github.com/gentoo/portage/pull/904 Signed-off-by: Sam James gentoo.org> lib/portage/getbinpkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portage/getbinpkg.py b/lib/portage/getbinpkg.py index ea9ee1d0a..799f5b171 100644 --- a/lib/portage/getbinpkg.py +++ b/lib/portage/getbinpkg.py @@ -529,7 +529,7 @@ def file_get( from portage.util import varexpand from portage.process import spawn - myfetch = (varexpand(x, mydict=variables) for x in portage.util.shlex_split(fcmd)) + myfetch = [varexpand(x, mydict=variables) for x in portage.util.shlex_split(fcmd)] fd_pipes = { 0: portage._get_stdin().fileno(), 1: sys.__stdout__.fileno(),