Adding 'quiet-period' option

Change-Id: I0182cad0313411b368d42325f40d09e5da8bc168
This commit is contained in:
desbonne 2012-09-10 12:46:34 +01:00 committed by Manuel Desbonnet
parent 631a5603d1
commit ccb63db7fc
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ class YamlParser(object):
XML.SubElement(xml, 'concurrentBuild').text = 'true'
else:
XML.SubElement(xml, 'concurrentBuild').text = 'false'
if('quiet-period' in data):
XML.SubElement(xml, 'quietPeriod').text = str(data['quiet-period'])
for module in self.registry.modules:
if hasattr(module, 'gen_xml'):