Changeset 9c68438 in rtems-source-builder


Ignore:
Timestamp:
12/11/15 07:28:26 (8 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.9, 5, master
Children:
e33968a
Parents:
7dddcc2
git-author:
Chris Johns <chrisj@…> (12/11/15 07:28:26)
git-committer:
Chris Johns <chrisj@…> (12/13/15 04:11:17)
Message:

A VERSION file may have no hashes.

File:
1 edited

Legend:

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

    r7dddcc2 r9c68438  
    9797        v = _load_released_version_config()
    9898        if v is not None:
    99             for hash in v.items('hashes'):
     99            try:
     100                hashes = v.items('hashes')
     101            except:
     102                hashes = []
     103            for hash in hashes:
    100104                hs = hash[1].split()
    101105                if len(hs) != 2:
Note: See TracChangeset for help on using the changeset viewer.