def find_product_template(product, producttypes=None):
    """Searches for the correct override template given a product."""
    if producttypes is None:
        producttypes = product.get_subtypes()

    templates = [x.lower() % "product/detail_%s.html" for x in producttypes]
    templates.append('product/product.html')
    log.debug("finding product template: %s", templates)
    return select_template(templates)
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/views/__init__.py/find_product_template/swapped operands of `%`