diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-02-18 16:28:52 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-02-18 16:29:01 +0000 |
commit | df6a33967e4754a103fbd24d3ee30495b6df32cc (patch) | |
tree | f0809ddb8fb2c4c0921f9e93a7d345fb24196750 /layerindex/update.py | |
parent | 873093d2e4bfe685c695b2e28710856eadae055e (diff) | |
download | openembedded-core-contrib-df6a33967e4754a103fbd24d3ee30495b6df32cc.tar.gz |
Clear default value of DESCRIPTION before parsing recipes
By default, if DESCRIPTION is not set it takes the value of SUMMARY.
However, within this tool it is useful for us to be able to tell when
DESCRIPTION has not been set so we want it to be blank if that is the
case.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/update.py')
-rwxr-xr-x | layerindex/update.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layerindex/update.py b/layerindex/update.py index 9629d1c86b..2aa4bb8a55 100755 --- a/layerindex/update.py +++ b/layerindex/update.py @@ -171,6 +171,8 @@ def main(): # Clear the default value of SUMMARY so that we can use DESCRIPTION instead if it hasn't been set tinfoil.config_data.setVar('SUMMARY', '') + # Clear the default value of DESCRIPTION so that we can see where it's not set + tinfoil.config_data.setVar('DESCRIPTION', '') # Clear the default value of HOMEPAGE ('unknown') tinfoil.config_data.setVar('HOMEPAGE', '') |