def commit(self, f):
if self._overwrite:<EOL><INDENT>replace_atomic(f.name, self._path)<EOL><DEDENT>else:<EOL><INDENT>move_atomic(f.name, self._path)<EOL><DEDENT>
Move the temporary file to the target location.