Fix Python: use is None/is not None instead of == None/!= None
Thank you Kevin for having spotted this! Change-Id: Ic63469d2d8dfd3f7848b6fc2250f90271055c027 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170449 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
2c46d3c2ff
commit
f9de7bc951
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ def remove_entry_shadow_type(current):
|
|||
shadow_type = child
|
||||
|
||||
if isentry:
|
||||
if shadow_typeis not None:
|
||||
if shadow_type is not None:
|
||||
current.remove(shadow_type)
|
||||
|
||||
def remove_label_pad(current):
|
||||
|
|
Loading…
Reference in a new issue