def _encode_config(conf_dict):
out = []<EOL>for var in settings._ALLOWED_MERGES:<EOL><INDENT>out.append(conf_dict[var])<EOL><DEDENT>out = ["<STR_LIT:t>" if x else "<STR_LIT:f>" for x in out]<EOL>return "<STR_LIT>".join(out)<EOL>
Encode `conf_dict` to string.