Changeset e8ed687 in rtems-source-builder


Ignore:
Timestamp:
Dec 11, 2015, 5:21:09 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.9, master
Children:
0661e90
Parents:
a861b31
git-author:
Chris Johns <chrisj@…> (12/11/15 05:21:09)
git-committer:
Chris Johns <chrisj@…> (12/11/15 05:31:05)
Message:

Generate an error if there is no hash when released.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/download.py

    ra861b31 re8ed687  
    3636import path
    3737import sources
     38import version
    3839
    3940def _do_download(opts):
     
    110111            del hasher
    111112    else:
     113        if version.released():
     114            raise error.general('%s: no hash found in released RSB' % (file_))
    112115        log.warning('%s: no hash found' % (file_))
    113116    return not failed
Note: See TracChangeset for help on using the changeset viewer.