def tox(registry, xml_parent, data):
 pluginelement = 'jenkins.plugins.shiningpanda.builders.ToxBuilder'
 t = XML.SubElement(xml_parent, pluginelement)
 XML.SubElement(t, 'toxIni').text = data.get('ini', 'tox.ini')
 XML.SubElement(t, 'recreate').text = str(data.get('recreate', False)).lower()
 pattern = data.get('toxenv-pattern')
 if pattern:
  XML.SubElement(t, 'toxenvPattern').text = pattern

def tox ( registry , xml_parent , data ) : pluginelement = 'jenkins.plugins.shiningpanda.builders.ToxBuilder' t = XML . SubElement ( xml_parent , pluginelement ) XML . SubElement ( t , 'toxIni' ) . text = data . get ( 'ini' , 'tox.ini' ) XML . SubElement ( t , 'recreate' ) . text = str ( data . get ( 'recreate' , False ) ) . lower ( ) pattern = data . get ( 'toxenv-pattern' ) if pattern : XML . SubElement ( t , 'toxenvPattern' ) . text = pattern
yaml: tox use tox to build a multi-configuration project .