def parse_return_code(report):
    rc = report.split('\n', 5)[2]
    try:
        rc = int(rc)
    except __HOLE__:
        rc = int(rc.replace('user return code = ', ''))
    return rc
dataset/ETHPy150Open zerovm/zerovm-cli/zvshlib/zvsh.py/parse_return_code