def order_variable(order, args):
    """
    Get a variable from an order

    Sample usage::

      {{ order|order_variable:'variable' }}

    """
    args, kwargs = get_filter_args(args)
    if not len(args == 1):
        raise template.TemplateSyntaxError((args[0], args) % "%r filter expected variable, got: %s")

    return order.get_variable(args[0])
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/satchmo_store/shop/templatetags/satchmo_order.py/order_variable/swapped operands of `%`