summaryrefslogtreecommitdiff
path: root/doc/tools/doc_merge.py
diff options
context:
space:
mode:
authorlupoDharkael <izhe@hotmail.es>2018-10-27 01:18:15 +0200
committerlupoDharkael <izhe@hotmail.es>2018-10-27 01:18:15 +0200
commitedcca5f7ad2ba92b3e04fb153f7db55c08593469 (patch)
tree8c29e3f3a2f793e3de3ae77f20c3a2607bf5e0e3 /doc/tools/doc_merge.py
parent970b58148f579f741934f64af437d01b985df15d (diff)
Dont use equality operators with None singleton in python files
Diffstat (limited to 'doc/tools/doc_merge.py')
-rw-r--r--doc/tools/doc_merge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tools/doc_merge.py b/doc/tools/doc_merge.py
index 57ac4bdcdd..496d5dcb74 100644
--- a/doc/tools/doc_merge.py
+++ b/doc/tools/doc_merge.py
@@ -82,7 +82,7 @@ def find_signal_descr(old_class, name):
def find_constant_descr(old_class, name):
- if (old_class == None):
+ if (old_class is None):
return None
constants = old_class.find("constants")
if(constants != None and len(list(constants)) > 0):