def quotify(comment, username):
    """
    Converts 'Foo\nbar' to:
    > @username said:
    > Foo
    > bar
    \n\n
    """
    with translation.override(settings.LANGUAGE_CODE):
        header = _("@%(username)s said:") % {'username': username, }

    comment = _strip_polls(comment)
    lines = comment.splitlines()
    quote = "\n> ".join(lines)
    quote = {'header': header, 'quote': quote} % "> %(header)s\n> %(quote)s\n\n"
    return quote
dataset/ETHPy150Open nitely/Spirit/spirit/core/utils/markdown/utils/quote.py/quotify/swapped operands of `%`