def write_index(group):
 return (u'%s_%s' % (settings.ES_INDEX_PREFIX, settings.ES_WRITE_INDEXES[group]))

def write_index ( group ) : return ( u'%s_%s' % ( settings . ES_INDEX_PREFIX , settings . ES_WRITE_INDEXES [ group ] ) )
write an index file .