From 7ef21b0d9f9ae5508ce699b9fbf81d309ada0ea1 Mon Sep 17 00:00:00 2001 From: stefan6419846 <96178532+stefan6419846@users.noreply.github.com> Date: Wed, 14 Jun 2023 15:19:08 +0200 Subject: [PATCH] avoid running shared object linking analysis twice --- CHANGELOG.md | 4 ++++ license_tools/scancode_tools.py | 3 +-- setup.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a26f643..796c8ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Development version +# Version 0.1.3 - 2023-06-14 + +* Avoid running shared object linking analysis twice. + # Version 0.1.2 - 2023-06-14 * Fix defaults for retrieval parameters. diff --git a/license_tools/scancode_tools.py b/license_tools/scancode_tools.py index 39c7e54..1eaccca 100644 --- a/license_tools/scancode_tools.py +++ b/license_tools/scancode_tools.py @@ -199,8 +199,7 @@ def run_on_file( if retrieve_ldd_data: results = check_shared_objects(path=path, short_path=short_path) if results: - print(short_path) - print(check_shared_objects(path=path, short_path=short_path)) + print(short_path + '\n' + results) return FileResults( path=path, short_path=short_path, diff --git a/setup.py b/setup.py index a25be4c..68bb388 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setuptools.setup( name='license_tools', description='Collection of tools for working with Open Source licenses', - version='0.1.2', + version='0.1.3', license='Apache-2.0', long_description=Path(ROOT_DIRECTORY / 'README.md').read_text(encoding='UTF-8'), long_description_content_type='text/markdown',