They're being formatted into the Unicode `filterstr`. Being explicit
here should make the transition to Python 3 less annoying.
return connection
def search(query, connection):
return connection
def search(query, connection):
filterstr = u'(|{0})'.format(
u' '.join([u'({0}=*{1}{2})'.format(field, query, post)
for field in CONFIG.get('query', 'search_fields').split()]))
filterstr = u'(|{0})'.format(
u' '.join([u'({0}=*{1}{2})'.format(field, query, post)
for field in CONFIG.get('query', 'search_fields').split()]))