Changeset 1c44f1c in rtems-source-builder


Ignore:
Timestamp:
Apr 30, 2013, 1:18:46 AM (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
dfdc129
Parents:
c931fbe
Message:

Add a get value call for macros.

File:
1 edited

Legend:

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

    rc931fbe r1c44f1c  
    367367        return m[1]
    368368
     369    def get_value(self, key):
     370        m = self.get(key)
     371        if m is None:
     372            return None
     373        return m[2]
     374
    369375    def overridden(self, key):
    370376        return self.get_attribute(key) == 'override'
Note: See TracChangeset for help on using the changeset viewer.