<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_info_from_service(service, zconf):
 """ Resolve service_info from service. """

    service_info = None
    try:
        service_info = zconf.get_service_info('_googlecast._tcp.local.',
                                              service)
        if service_info:
            _LOGGER.debug(
                "get_info_from_service resolved service %s to service_info %s",
                service, service_info)
    except IOError:
        pass
    return service_info