From 134adfc99bf57acf84df8bfa74c545d0e43879a5 Mon Sep 17 00:00:00 2001 From: Shyamnath Premnadh Date: Tue, 20 Dec 2022 09:42:34 +0100 Subject: deploy tool: return Nuitka command for --dry-run - In the case of dry_run==True, the initial call returns the Nuitka command being run to the main function Task-number: PYSIDE-1612 Change-Id: I48a6d686346dee691f01911c07901fac7f3af4c2 Reviewed-by: Friedemann Kleint --- sources/pyside-tools/deploy_lib/python_helper.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'sources/pyside-tools/deploy_lib/python_helper.py') diff --git a/sources/pyside-tools/deploy_lib/python_helper.py b/sources/pyside-tools/deploy_lib/python_helper.py index 35c3fb35c..e92ce8e0c 100644 --- a/sources/pyside-tools/deploy_lib/python_helper.py +++ b/sources/pyside-tools/deploy_lib/python_helper.py @@ -73,10 +73,12 @@ class PythonExecutable: if config.qml_files: logging.info(f"[DEPLOY] Included QML files: {config.qml_files}") - self.nuitka.create_executable( - source_file=source_file, - extra_args=extra_args, - qml_files=config.qml_files, - dry_run=self.dry_run, - ) + command_str = self.nuitka.create_executable( + source_file=source_file, + extra_args=extra_args, + qml_files=config.qml_files, + dry_run=self.dry_run, + ) + + return command_str -- cgit v1.2.3