[dpdk-dev] [PATCH v2] doc: fix build with python 3.8

Bruce Richardson bruce.richardson at intel.com
Wed Dec 11 12:15:11 CET 2019


On Wed, Dec 11, 2019 at 12:01:40PM +0100, Thomas Monjalon wrote:
> 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 '':
> 
> Removing "is not ''" 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)
> 
> Fixes: 9db3f52126fb ("doc: generate NIC overview table from ini files")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list