summaryrefslogtreecommitdiff
path: root/solenv/bin/native-code.py
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/native-code.py')
-rwxr-xr-xsolenv/bin/native-code.py2
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