Searched refs:new_contents (Results 1 – 2 of 2) sorted by relevance
47 new_contents = "" variable58 new_contents += line60 new_contents += "\n"61 contents = new_contents63 new_contents = "" variable93 new_contents += line + "\n"95 contents = new_contents98 filehandle.write(new_contents)
328 new_contents = []331 new_contents.append(old_content.replace(old, new))334 write_file(path, "\n".join(new_contents))