def fingerprint(registry, xml_parent, data):
 finger = XML.SubElement(xml_parent, 'hudson.tasks.Fingerprinter')
 mappings = [('files', 'targets', ''), ('record-artifacts', 'recordBuildArtifacts', False)]
 helpers.convert_mapping_to_xml(finger, data, mappings, fail_required=True)

def fingerprint ( registry , xml_parent , data ) : finger = XML . SubElement ( xml_parent , 'hudson.tasks.Fingerprinter' ) mappings = [ ( 'files' , 'targets' , '' ) , ( 'record-artifacts' , 'recordBuildArtifacts' , False ) ] helpers . convert_mapping_to_xml ( finger , data , mappings , fail_required = True )
return the fingerprint for an ssh public key .