Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extra single quote in LdPreload debug log #79

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tracetools_launch/tracetools_launch/actions/ld_preload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading