Lines Matching refs:tmp_file
269 tmp_file = self._create_tmp()
271 self._dump_message(message, tmp_file)
273 tmp_file.close()
274 os.remove(tmp_file.name)
276 _sync_close(tmp_file)
285 uniq = os.path.basename(tmp_file.name).split(self.colon)[0]
288 os.utime(tmp_file.name,
289 (os.path.getatime(tmp_file.name), message.get_date()))
295 os.link(tmp_file.name, dest)
296 os.remove(tmp_file.name)
298 os.rename(tmp_file.name, dest)
300 os.remove(tmp_file.name)