From df6a33967e4754a103fbd24d3ee30495b6df32cc Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 18 Feb 2013 16:28:52 +0000 Subject: [PATCH] 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 --- layerindex/update.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layerindex/update.py b/layerindex/update.py index 9629d1c..2aa4bb8 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', '')