bin/ui-rules-enforcer.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f9de7bc9514596cecd51419c83901d24518a9109
Author:     Julien Nabet <[email protected]>
AuthorDate: Sun Jul 14 08:45:11 2024 +0200
Commit:     Julien Nabet <[email protected]>
CommitDate: Sun Jul 14 08:46:22 2024 +0200

    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 <[email protected]>
    Reviewed-by: Julien Nabet <[email protected]>

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

Reply via email to