def _move_path(self):
if is_temp_path(self._path) and self._pycurl is not None:<EOL><INDENT>eurl = self._pycurl.getinfo(pycurl.EFFECTIVE_URL)<EOL>er = get_resource_name(eurl)<EOL>r = get_resource_name(self.url)<EOL>if er != r and os.path.exists(self.path):<EOL><INDENT>new_path = self._get_path(self._path, eurl)<EOL>shutil.move(self.path, new_path)<EOL>self.path = new_path<EOL><DEDENT><DEDENT>
Move the downloaded file to the authentic path (identified by
effective URL)