From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 68793A052A; Mon, 25 Jan 2021 23:13:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89E031411B7; Mon, 25 Jan 2021 23:13:10 +0100 (CET) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by mails.dpdk.org (Postfix) with ESMTP id 6F552141187 for ; Mon, 25 Jan 2021 23:13:07 +0100 (CET) Received: by mail-lf1-f49.google.com with SMTP id m22so20080510lfg.5 for ; Mon, 25 Jan 2021 14:13:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NPF1knAIrihnFEZd0YxUvSpEmAzLC/WbE/zGyDGhmZU=; b=bmwSeB7oU3JcSrkDao5Z6tD45DyvUANfWEPgu4VpFRy+mzAnTU7pGPFiw6KpDjCEcp ZKaapVc3ZDr8rEcS93Fplces7hq/jVTwHtJL+tIHOTzYWTwTtPAPJJP3rNR9dDT4Pq91 E/kUkwRQfZMeHhM5a14nB614C0h9/bECMRTGeBgiwI22TcDm+aHaE3NZKzRQ7aq4BLbR Q+iLTCk0K6nCTcYVYt4tj6RR09k3vSoN4qyRT7YJPvXirEzRmj6taXCWZh58IX6b+yb6 tRJZeBbeTWaA8aP85sDMwisHYGrTCMSITcUaF2uuFgQVhsORF3n87zAZ8ECAa7CjCA4U Q/Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NPF1knAIrihnFEZd0YxUvSpEmAzLC/WbE/zGyDGhmZU=; b=atOkAeetnkFyBVot7bNytrBrv+8tIRHON3sRU2guHnKgS8zFEblVyoBYcubugxqOmE ixbSxMbqb0g+BzdkHBFvAP7niWnQDPxQllvGG7vxebhs3xXgXcypmH9GHx+C6Um418gC u+P9c7Bq0WKDV5+folVksAQAqQ9TGHGH5qIGtSHaAWqFTxmBM2NmrgX6fhQ1w1hvb7QF KPDJ7I77qMWA9509dYJZsqwTaTs+I9Dj/mgo0RSFkxEjb/Jh6rwel8zhgloDm/vmKNAo ulxLj4QbVK7tiKiDS0+I7ul6kZOp6qvx7CiYdCQEO74Vnq7JtDVcZzue2djEKOcqeaQb jsCw== X-Gm-Message-State: AOAM533pAFyJ/w0DeazDAZMzlfbc2dnQ49iWgB89ZfwTNvyPmfryJhws 47RzhthQosDeTz5EmuSQ+1yX71E4pS4= X-Google-Smtp-Source: ABdhPJznwcfPsireEJ4qtxvZa3I7PEvwWGSLlm1R4hg4+ePWMOlL0Dh0S9CuzthHu8bvD0BUWl8T/w== X-Received: by 2002:ac2:5973:: with SMTP id h19mr1151595lfp.293.1611612786794; Mon, 25 Jan 2021 14:13:06 -0800 (PST) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id w2sm533831lfd.305.2021.01.25.14.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 14:13:06 -0800 (PST) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Ali Alnubani , Bruce Richardson , Thomas Monjalon , Dmitry Kozlyuk Date: Tue, 26 Jan 2021 01:12:49 +0300 Message-Id: <20210125221251.19147-3-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210125221251.19147-1-dmitry.kozliuk@gmail.com> References: <20210125221251.19147-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/3] buildtools: fix archive extraction for Python 3.5 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Python 3.5 subprocess.run() has no capture_output parameter. Use subprocess.PIPE available in all versions. Signed-off-by: Dmitry Kozlyuk --- To be squashed with caaca1ec6 ("buildtools: support object file extraction for Windows"). buildtools/gen-pmdinfo-cfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/gen-pmdinfo-cfile.py b/buildtools/gen-pmdinfo-cfile.py index f1f289ffe..c60ecd7f6 100644 --- a/buildtools/gen-pmdinfo-cfile.py +++ b/buildtools/gen-pmdinfo-cfile.py @@ -11,7 +11,7 @@ with tempfile.TemporaryDirectory() as temp: proc = subprocess.run( # Don't use "ar p", because its output is corrupted on Windows. - [ar, "xv", os.path.abspath(archive)], capture_output=True, check=True, cwd=temp + [ar, "xv", os.path.abspath(archive)], stdout=subprocess.PIPE, check=True, cwd=temp ) lines = proc.stdout.decode().splitlines() names = [line[len("x - ") :] for line in lines] -- 2.29.2