def filter_format(filter_template,assertion_values):
  return filter_template % (tuple(map(escape_filter_chars,assertion_values)))
For generating a single piece of content from pages
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/python-ldap-2.3.13/Lib/ldap/filter.py/filter_format--crossover with--dataset/ETHPy150Open davemerwin/blue-channel/bluechannel/page/templatetags/page_tags.py/show_home_detail