(form, report_name, report_slug)
return _force_list(report.get(report_slug, []))
Returns a list of log entries matching report_name.report_slug
    These entries are 1-to-1 with the phonelog models (DeviceReportEntry,
    UserErrorEntry, UserEntry).
Returns a list of log entries matching report_name.report_slug
    These entries are 1-to-1 with the phonelog models (DeviceReportEntry,
    UserErrorEntry, UserEntry).
Returns a list of log entries matching report_name . report_slug These entries are 1 - to - 1 with the phonelog models ( DeviceReportEntry UserErrorEntry UserEntry ) .
def _get_logs(form, report_name, report_slug):
    """
    Returns a list of log entries matching report_name.report_slug
    These entries are 1-to-1 with the phonelog models (DeviceReportEntry,
    UserErrorEntry, UserEntry).
    """
    report = form.get(report_name, {}) or {}
    if isinstance(report, list):
        return list(_get_log_entries(report, report_slug))
    return _force_list(report.get(report_slug, []))
def _get_logs ( form , report_name , report_slug ) : report = form . get ( report_name , { } ) or { } if isinstance ( report , list ) : return list ( _get_log_entries ( report , report_slug ) ) return _force_list ( report . get ( report_slug , [ ] ) )