Forcing string conversion on boolean parameter

Change-Id: Id891e6948b879dfcb8f777f272dc1cb34cd197e8
Reviewed-on: https://review.openstack.org/12793
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
desbonne 2012-09-10 13:16:42 +01:00 committed by Jenkins
parent 6ac3c5087b
commit 32128b37f9

View File

@ -92,6 +92,7 @@ def string_param(parser, xml_parent, data):
def bool_param(parser, xml_parent, data):
data['default'] = str(data.get('default', 'false')).lower()
base_param(parser, xml_parent, data, True,
'hudson.model.BooleanParameterDefinition')