scout/commands/load/report.py
def delivery_report(context, case_id, report_path,
                    update):
    """Add delivery report to an existing case."""

    adapter = context.obj['adapter']

    try:
        load_delivery_report(adapter=adapter, case_id=case_id,
                             report_path=report_path, update=update)
        LOG.info("saved report to case!")
    except Exception as e:
        LOG.error(e)
        context.abort()
def delivery_report(context, case_id, report_path,
                    update):
    adapter = context.obj['adapter']

    try:
        load_delivery_report(adapter=adapter, case_id=case_id,
                             report_path=report_path, update=update)
        LOG.info("saved report to case!")
    except Exception as e:
        LOG.error(e)
        context.abort()
def delivery_report ( context , case_id , report_path , update ) : adapter = context . obj [ 'adapter' ] try : load_delivery_report ( adapter = adapter , case_id = case_id , report_path = report_path , update = update ) LOG . info ( "saved report to case!" ) except Exception as e : LOG . error ( e ) context . abort ( )
Add delivery report to an existing case.
Add delivery report to an existing case .