diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2024-07-14 08:45:11 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2024-07-14 08:46:22 +0200 |
commit | f9de7bc9514596cecd51419c83901d24518a9109 (patch) | |
tree | 276c69e0da09e7cffac1d7de7fcd0f2891ffb8e2 /bin/ui-rules-enforcer.py | |
parent | 2c46d3c2ff6bbdcd387771f823aa5b3b812c80a8 (diff) |
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>
Diffstat (limited to 'bin/ui-rules-enforcer.py')
-rwxr-xr-x | bin/ui-rules-enforcer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ui-rules-enforcer.py b/bin/ui-rules-enforcer.py index c363439d25bd..9b8b76f439ae 100755 --- a/bin/ui-rules-enforcer.py +++ b/bin/ui-rules-enforcer.py @@ -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): |