def _get_package_info(self, name):
    data = self._get('pypi/{}/json'.format(name))
    if (data is None):
        raise PackageNotFound('Package [{}] not found.'.format(name))
    return data
def _get_package_info(self, name):
    data = self._get('pypi/{}/json'.format(name))
    if (data is None):
        raise PackageNotFound('Package [{}] not found.'.format(name))
    return data