def _read_rest(mesos_file):
    """ Reads the rest of the file, and returns the lines.
    """
    data = mesos_file.read()
    if data == '':
        return []
    else:
        data_tmp = _strip_trailing_newline(data)
        return data_tmp.split('\n')
dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/files.py/_read_rest/original