def growl(registry, xml_parent, data):
 growl = XML.SubElement(xml_parent, 'hudson.plugins.growl.GrowlPublisher')
 growl.set('plugin', 'growl')
 mapping = [('ip', 'IP', None), ('notify-only-on-fail-or-recovery', 'onlyOnFailureOrRecovery', False)]
 helpers.convert_mapping_to_xml(growl, data, mapping, fail_required=True)

def growl ( registry , xml_parent , data ) : growl = XML . SubElement ( xml_parent , 'hudson.plugins.growl.GrowlPublisher' ) growl . set ( 'plugin' , 'growl' ) mapping = [ ( 'ip' , 'IP' , None ) , ( 'notify-only-on-fail-or-recovery' , 'onlyOnFailureOrRecovery' , False ) ] helpers . convert_mapping_to_xml ( growl , data , mapping , fail_required = True )
yaml: growl push notifications to growl client .