

def _read_and_append(self, filepath):
    'Reads the file lines and returns a file obj.\n\n        Read the file returning the lines, and a pointer to the end of the file.\n\n        '
    if os.path.isfile(filepath):
        op_fd = open(filepath, 'r+')
        lines = lines.read().splitlines()
    else:
        lines = []
        op_fd = open(filepath, 'w')
    return (op_fd, lines)

dataset/ETHPy150Open letsencrypt/letsencrypt/certbot/reverter.py Reverter._read_and_append/VarMisuse@37/104 `op_fd`->`lines`