diff options
author | Chris Johns <chrisj@rtems.org> | 2022-11-15 21:46:27 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2022-11-15 21:46:27 +1100 |
commit | 0a7ecef07e865464a9d98d8a6df36f4aac22e1ec (patch) | |
tree | ae0b9f42a84d40d3b588dbf4ad6b330b9413e98d | |
parent | rtems: Update source and patch URLs to valid locations (diff) | |
download | rtems-source-builder-0a7ecef07e865464a9d98d8a6df36f4aac22e1ec.tar.bz2 |
sb/downloads: Raise errors on no hash present
Close #4761
-rw-r--r-- | source-builder/sb/download.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py index 3aaa701..9ee5ca3 100644 --- a/source-builder/sb/download.py +++ b/source-builder/sb/download.py @@ -132,9 +132,7 @@ def _hash_check(file_, absfile, macros, remove = True): if hasher is not None: del hasher else: - if version.released(): - raise error.general('%s: no hash found in released RSB' % (file_)) - log.warning('%s: no hash found' % (file_)) + raise error.general('%s: no hash found in released RSB' % (file_)) return not failed def _local_path(source, pathkey, config): |