[rtems-source-builder commit] sb/downloads: Raise errors on no hash present
Chris Johns
chrisj at rtems.org
Tue Nov 15 21:42:33 UTC 2022
Module: rtems-source-builder
Branch: 5
Commit: 0a7ecef07e865464a9d98d8a6df36f4aac22e1ec
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=0a7ecef07e865464a9d98d8a6df36f4aac22e1ec
Author: Chris Johns <chrisj at rtems.org>
Date: Tue Nov 15 21:46:27 2022 +1100
sb/downloads: Raise errors on no hash present
Close #4761
---
source-builder/sb/download.py | 4 +---
1 file changed, 1 insertion(+), 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):
More information about the vc
mailing list