diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2024-07-12 15:58:23 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2024-07-13 09:13:54 +0200 |
commit | 1f8a9bfcdb83446b49e74dba241f9924d3b74748 (patch) | |
tree | 5a4eeb17ab6d6b622989d2de02f2ada15a73b206 /solenv/bin/native-code.py | |
parent | 4c8f88bef948b18f3d810c29a7f83496367758a9 (diff) |
Python: use is None/is not None instead of == None/!= None
Change-Id: I1c34181897506ad29a063865d752cb85ab76dbc3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170408
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'solenv/bin/native-code.py')
-rwxr-xr-x | solenv/bin/native-code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py index 26de5c199ec1..743d8bfb5a8e 100755 --- a/solenv/bin/native-code.py +++ b/solenv/bin/native-code.py @@ -782,7 +782,7 @@ def limit_rdb(services_rdb, full_factory_map, full_constructor_map): # direct uri = component.get('uri') component_name = None - if uri != None: + if uri is not None: component_name = re.sub(r'^vnd.sun.star.expand:\$LO_LIB_DIR/([^.]*).so$', r'\1.a', uri) if component_name in full_factory_map: continue |