diff options
author | lupoDharkael <izhe@hotmail.es> | 2018-10-27 01:18:15 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2018-10-27 01:18:15 +0200 |
commit | edcca5f7ad2ba92b3e04fb153f7db55c08593469 (patch) | |
tree | 8c29e3f3a2f793e3de3ae77f20c3a2607bf5e0e3 /doc/tools/doc_merge.py | |
parent | 970b58148f579f741934f64af437d01b985df15d (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.py | 2 |
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): |