Delete all lines matching the given line.

def remove(self, line):
        """Delete all lines matching the given line."""
        nb = 0
        for block in self.blocks:
            nb += block.remove(line)

        return nb