Skip to content

Commit 8ba395b

Browse files
committed
fix download
Signed-off-by: oliver könig <[email protected]>
1 parent 5384229 commit 8ba395b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/test_utils/python_scripts/download_unit_tests_dataset.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,14 @@ def download_and_extract_asset(assets_dir: Path) -> bool:
6868
with tarfile.open(temp_file, 'r') as tar_ref:
6969
tar_ref.extractall(assets_dir)
7070
else:
71-
logger.warning(
72-
f" Warning: Unknown file type for {asset_name}, skipping extraction"
73-
)
74-
return False
71+
logger.warning(f" Warning: Unknown file type for {asset_name}, skipping extraction")
7572

7673
# Clean up temporary file
7774
temp_file.unlink()
7875
logger.info(f" Successfully extracted to {assets_dir}")
79-
return True
8076

8177
except Exception as e:
8278
logger.error(f" Error downloading/extracting {asset_name}: {e}")
83-
return False
8479

8580

8681
@click.command()

0 commit comments

Comments
 (0)