From 998530886645e41b7a94f1449784c46b40ab0c90 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Wed, 30 Aug 2023 14:57:41 -0700 Subject: [PATCH] Remove extra single quote in LdPreload debug log Signed-off-by: Christophe Bedard --- tracetools_launch/tracetools_launch/actions/ld_preload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tracetools_launch/tracetools_launch/actions/ld_preload.py b/tracetools_launch/tracetools_launch/actions/ld_preload.py index e5c675ae..7a7b1af6 100644 --- a/tracetools_launch/tracetools_launch/actions/ld_preload.py +++ b/tracetools_launch/tracetools_launch/actions/ld_preload.py @@ -104,9 +104,9 @@ def get_shared_lib_path(cls, lib_name: str) -> Optional[str]: return None # Assuming that there are no spaces in paths (which should be valid for Linux libs) paths = output_split[1].split(' ') - cls.__logger.debug(f"lib paths for '{lib_name}'': {paths}") + cls.__logger.debug(f"lib paths for '{lib_name}': {paths}") # Try to find a shared library - # Paths could contain a shared lib (.so) or a static lib (.a) in any order + # Paths could contain: shared lib (.so), static lib (.a), or libtools text file (.la) shared_lib_paths = [path for path in paths if path.endswith('.so')] if not shared_lib_paths: return None