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:
Julien Nabet 2024-07-14 08:45:11 +02:00
parent 2c46d3c2ff
commit f9de7bc951

View file

@ -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):