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 64277A0550; Sun, 16 Feb 2020 22:13:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A7EF91BF76; Sun, 16 Feb 2020 22:13:20 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by dpdk.org (Postfix) with ESMTP id 6B6B62C4F; Sun, 16 Feb 2020 22:13:19 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 4494D7FC; Sun, 16 Feb 2020 16:13:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 16 Feb 2020 16:13:16 -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=mesmtp; bh=XDWeduawbg9AihvbqodvRpndwUqT3plwih5d6KgKuOY=; b=aM2QBtMJM4cU DGJxYTOwQp5ubuBBh1spW+xotK2i9FqsN7wKCGAX7U+WaeHeYLlpw9Wz4lsp8L6j uwThoFQKMiWOASrHfcLNYgzGAJ3bPPnK5jW3qQhV1VtTyH1qSMKCp97Oc6Fsudts kyBO2TMFfxvsB88GKN0SqAEfRtBGfeQ= 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=fm2; bh=XDWeduawbg9AihvbqodvRpndwUqT3plwih5d6KgKu OY=; b=bmDxZpc2lGRqalgkdtNAGqhYmTJUJ1QdDKAxzA0yGPlvF+hMrNMd4O2O4 uawF6BzwW6gI6MAVtFx9A8vnB1p7+7dtNpiKDWsEriIgdy2BTvTucaKlPJr3EQ4L XLjMEdSt8U2tcK2F1B9S8bjlL1Bdh4F+6C7/ZsktavVC8cXMIHmfj+m20AX4B1ye V32ehIMDu7vRRz9n43wQ8opVhu8DY4MsPj4/2SBJywqEW7Wr7W1VdxtdH6dqBrxM BDt6gje/t4JrBlAXeL/avAiuyRmMfZ4gvRGdlP8XfrR9VuGPb0EdfXuGTJiBBbjz n842aGqfxcuC+JojUAYtkR8OXPDYQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrjeeggddugeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght 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 8FA463060C21; Sun, 16 Feb 2020 16:13:14 -0500 (EST) From: Thomas Monjalon To: Thomas Faivre Cc: dev@dpdk.org, Neil Horman , stable@dpdk.org Date: Sun, 16 Feb 2020 22:13:13 +0100 Message-ID: <2564797.Nya5fj1elA@xps> In-Reply-To: <20200212123156.20434-1-thomas.faivre@6wind.com> References: <20200212123156.20434-1-thomas.faivre@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] usertools: fix syntax warning in python 3.8 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" 12/02/2020 13:31, Thomas Faivre: > Silent the following warning when running script with python 3.8: > > > /usr/bin/dpdk-pmdinfo:542: SyntaxWarning: "is" with a literal. > > Did you mean "=="? > > if (autoload_path is None or autoload_path is ""): > > As autoload_path can only be None or a string, directly check its bool > value. > > Fixes: c67c9a5c646a ("tools: query binaries for HW and other support information") > Cc: stable@dpdk.org > > Signed-off-by: Thomas Faivre Applied, thanks