doc: fix build with python 3.8
[dpdk.git] / doc / guides / conf.py
index e2b52e2..0892c06 100644 (file)
@@ -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]