def _get_record(xapi, rectype, uuid):
 return getattr(xapi, rectype).get_record(uuid)

def _get_record ( xapi , rectype , uuid ) : return getattr ( xapi , rectype ) . get_record ( uuid )
gets the record object for a given fqdn .