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 159FEA04B3; Mon, 9 Dec 2019 22:00:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6EBE52BAB; Mon, 9 Dec 2019 22:00:22 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 447DF1F5 for ; Mon, 9 Dec 2019 22:00:21 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ACE94226E2; Mon, 9 Dec 2019 16:00:18 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 09 Dec 2019 16:00:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=DYwJtoXSXj1EkVGuhQZxmmK yfVf3EUlfD9K/RULZgTI=; b=gWglMhXq+A8GTzTBKHSFPIWONGQOgrQxS/1xfSe e78OdND8Ls32VUGDRdDehVDMLOM36YiUwUxYnlF/mozh9Ma5O8bWP3yWs+xcHzQy gmxrvCrBo+pzwvvm7e6XLO2guoFYQfc9OR9I2BAqJlXvKOF0GAaMGAkCS22u7XsK xhOA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=DYwJtoXSXj1EkVGuh QZxmmKyfVf3EUlfD9K/RULZgTI=; b=kpu9MZuLYUVvFklyrXrYvOgSB94795v0h qYf6Fj0T4YaI4HfBvPxnhbSX1bDHm9qmIuwuBJVDAe8zQiKGNvyV1euaBpAJmpGh jTNWeeeqdhUe/JiVa0nCL4L+qXlIbW//Q3AXDHfBUYL68r+RSS8ZKAnEoKBj15R0 /Q82Mwp+cErn3wfNdTKfcbUf7FCnsmU9utSGCqE3Z2hPxN7Q4IuE7kkmJDz4f7HZ gr8nC/Dk1oIi6XSDU/mohskm7IYXLocTGEnMmvKAIIZp1phYvzHG507gv3MkTeXs 9uhWaAbL4KQZjteVrdgReAY6t6E3EIIYwcPEAlJss10vrp9V0p78w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeltddgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucffoh hmrghinhepghhithhhuhgsrdgtohhmnecukfhppeejjedrudefgedrvddtfedrudekgeen ucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth enucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 007948005B; Mon, 9 Dec 2019 16:00:16 -0500 (EST) From: Thomas Monjalon To: John McNamara , Marko Kovacevic Cc: robin.jarry@6wind.com, dev@dpdk.org Date: Mon, 9 Dec 2019 22:00:00 +0100 Message-Id: <20191209210000.906000-1-thomas@monjalon.net> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] doc: fix build with 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" After upgrading to python-3.8.0, a syntax mismatch is revealed: doc/guides/conf.py:240: SyntaxWarning: "is not" with a literal. Did you mean "!="? if value is not '': Replacing "is not" with "!=" seems the right thing to do. A patch may also be needed in the RTD theme package: https://github.com/readthedocs/sphinx_rtd_theme/commit/a49a812c.diff (not included in release 0.4.3) Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index e2b52e2df9..4575253c7b 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -237,7 +237,7 @@ def generate_overview_table(output_filename, table_id, section, table_name, titl ini_filename)) continue - if value is not '': + if value != '': # Get the first letter only. ini_data[ini_filename][name] = value[0] -- 2.24.0