(self, url)
return info
See if an URL is a suitable download for a project.

        If it is, register information in the result dictionary (for
        _get_project) about the specific version it's for.

        Note that the return value isn't actually used other than as a boolean
        value.
See if an URL is a suitable download for a project.
See if an URL is a suitable download for a project .
def _process_download(self, url):
        """
        See if an URL is a suitable download for a project.

        If it is, register information in the result dictionary (for
        _get_project) about the specific version it's for.

        Note that the return value isn't actually used other than as a boolean
        value.
        """
        if self.platform_check and self._is_platform_dependent(url):
            info = None
        else:
            info = self.convert_url_to_download_info(url, self.project_name)
        logger.debug('process_download: %s -> %s', url, info)
        if info:
            with self._lock:    # needed because self.result is shared
                self._update_version_data(self.result, info)
        return info
def _process_download ( self , url ) : if self . platform_check and self . _is_platform_dependent ( url ) : info = None else : info = self . convert_url_to_download_info ( url , self . project_name ) logger . debug ( 'process_download: %s -> %s' , url , info ) if info : with self . _lock : # needed because self.result is shared self . _update_version_data ( self . result , info ) return info