def write_special_indexes(): """ Writes the project-specific indexes to the project djangaeidx.yaml """ project_index_file = _get_project_index_file() with allow_mode_write(): with open(project_index_file, "w") as stream: stream.write(yaml.dump(_project_special_indexes))
def write_special_indexes(): index_file = _get_index_file() with allow_mode_write(): with open(index_file, "w") as stream: stream.write(yaml.dump(_special_indexes))