From 7a2a7f063189e5320db08077bd8268cec38d22a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20L=C3=A9obal?= Date: Tue, 1 Aug 2023 14:07:55 +0200 Subject: [PATCH] fix: typo in exception (#377) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Olivier LĂ©obal --- CHANGELOG.md | 4 ++++ substra/sdk/utils.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 479e0eb5..f15e38ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `wait_completion` param on `get_performances`, `list_task_output_assets` and `get_task_output_asset` to block execution until execution is over ([#368](https://github.com/Substra/substra/pull/368)) - `list_task_output_assets` and `get_task_output_asset` wait that the compute task is over before getting assets ([#369](https://github.com/Substra/substra/pull/369)) +### Fixed + +- typo in exception ([#377](https://github.com/Substra/substra/pull/377)) + ## [0.46.0](https://github.com/Substra/substra/releases/tag/0.46.0) - 2023-07-25 ### Added diff --git a/substra/sdk/utils.py b/substra/sdk/utils.py index e98336e2..7612c138 100644 --- a/substra/sdk/utils.py +++ b/substra/sdk/utils.py @@ -34,7 +34,7 @@ def extract_files(data, file_attributes): files = {} for k, f in paths.items(): if not os.path.exists(f): - raise exceptions.LoadDataException(f"The '{k}' attribute file ({f}) does not exit.") + raise exceptions.LoadDataException(f"The '{k}' attribute file ({f}) does not exist.") files[k] = open(f, "rb") try: