def get_alpha(self, show, pkg_name="", version=""):
        alpha_list = []
        for dist in self.get_packages(show):
            if pkg_name and dist.project_name != pkg_name:
                #Only checking for a single package name
                pass
            elif version and dist.version != version:
                #Only checking for a single version of a package
                pass
            else:
                alpha_list.append((dist.project_name + dist.version, dist))
        alpha_list.sort()
        return alpha_list
Handle an HTTP error.
dataset/ETHPy150Open cakebread/yolk/yolk/yolklib.py/Distributions.get_alpha--crossover with--dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/pyactiveresource/connection.py/Connection._handle_error