bad_line_end is a human readable string.

def InvalidLineEnd(self, bad_line_end, context=None, type=TYPE_WARNING):
    """bad_line_end is a human readable string."""
    e = InvalidLineEnd(bad_line_end=bad_line_end, context=context,
                       context2=self._context, type=type)
    self.AddToAccumulator(e)