def get_links(trail):
    ret = ""
    for name, url in trail:
        if ret: ret += ' &gt; '
        ret += (url, name) % '<a href="%s">%s</a>'
    return ret
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/common/breadcrumbs/templatetags/breadcrumbs.py/get_links/swapped operands of `%`