def lines_to_blocks(self, lines):
        blocks = []
        last_line = -2
        for line in lines:
            if line > last_line + 1:
                blocks.append(line)
            last_line = line
        return blocks
dataset/ETHPy150Open jisaacks/GitGutter/git_gutter_change.py/GitGutterBaseChangeCommand.lines_to_blocks/original