From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44B60A04B1; Sun, 22 Nov 2020 22:03:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 95F88FFA; Sun, 22 Nov 2020 22:03:06 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 23ACF2AB for ; Sun, 22 Nov 2020 22:03:05 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B7F545C00ED; Sun, 22 Nov 2020 16:03:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 22 Nov 2020 16:03:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= kjX5xgJ6lfHxNFibnGMtpnrHGKrQOimqLqRbomsjPMU=; b=WFn8Hvlvu3Gc82GB 0xU4v79YLRupmEJVAT5YFOo6hstNUIe5H2qi3ermjOcKqBSP1KOs297cxBryaLYT uNv0UM1Sm9H0pNCW/uDxE8l3g8U6rHeoqYcMI0LzocCJFXWkMv/xl+59IuUXS0SG /h9zvGvFY+B1FgGPsY2w149UKLes2LlP1SKy+J8RTjh6UIzKfHlKXxlXDOrFbrHN kFUTkRjg2bj/0zHlnc4hRoOTcEjS3g9JwLbPDKpg2WB7s5HMrfh0jKtj2dOXcNgD Vb3QFcu9xjZlG6Gcbh3wCaFHV43kl88B5H/lsGhGvzXiX3BVlN0f602IqeAheWXh 5Brr1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=kjX5xgJ6lfHxNFibnGMtpnrHGKrQOimqLqRbomsjP MU=; b=AziEwN79EEK1a3RcJL7orljIXVB7ciO0745KQTJTFMXUARgB6M3rmrlo7 heO2eAFA/de/A96k4rX1J1CuvvsEAHXuf67FBslyZOEWtKE5AInJ+JXK4Xd26Y+r Pm9vTMgPiG2y46XiyriSZmaNvm1ZlRUDIwxGxWagiCWfnqzxPA3IwUX0yZomFkMP 2K8hEmF3JDpymuJ7SynGjmo1Hz7XPszBaK0H2AUQy/snzTzdmrM1njgSOYLPUBM/ jwOQA8WdATIJnCUw7W/6I0DE1hjtlhZDhaAFCsdLxUJOJ2h4k5VQuyILlsAHCCgi TWNx9TcufAHTV4vRzSo/jCCS3P2Tw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeggedgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D754A328005A; Sun, 22 Nov 2020 16:03:02 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Bruce Richardson Date: Sun, 22 Nov 2020 22:03:01 +0100 Message-ID: <2214654.jlqiCE3Y26@thomas> In-Reply-To: <20201104092852.GB58@bricha3-MOBL.ger.corp.intel.com> References: <20200906013133.26360-12-stephen@networkplumber.org> <20201104070350.28224-1-stephen@networkplumber.org> <20201104092852.GB58@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 0/6] dpdk-devbind: python lint cleanups X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" 04/11/2020 10:28, Bruce Richardson: > On Tue, Nov 03, 2020 at 11:03:44PM -0800, Stephen Hemminger wrote: > > This addresses several warnings from python3 lint. > > Split out from earlier patchset > > > > Stephen Hemminger (6): > > dpdk-devbind: use argparse instead of getopt > > dpdk-devbind: fix indentation > > dpdk-devbind: fix python lint warnings for imports > > dpdk-devbind: do not use len(x) to test for empty > > dpdk-devbind: fix unnecessary else after return > > dpdk-devbind: use in to test for multiple strings > > > > usertools/dpdk-devbind.py | 315 +++++++++++++++++--------------------- > > 1 file changed, 142 insertions(+), 173 deletions(-) > > > Series-acked-by: Bruce Richardson Applied, thanks