Changeset 667255c in rtems-source-builder


Ignore:
Timestamp:
Apr 13, 2013, 4:30:22 AM (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
0565e1f
Parents:
9384fba
Message:

Fix options bug when the macro file is not found.

File:
1 edited

Legend:

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

    r9384fba r667255c  
    251251            checked = path.exists(um)
    252252            if False in checked:
    253                 raise general.error('macro file not found: %s' % (um[um.index(False)]))
     253                raise error.general('macro file not found: %s' % (um[checked.index(False)]))
    254254            for m in um:
    255255                self.defaults.load(m)
Note: See TracChangeset for help on using the changeset viewer.