def _get_release_id(self): releases = self.client.get_releases() for release in releases: if release["name"] == self.config["release"]: return release["id"] raise exceptions.UnknownRelease(release=self.config["release"])
def _get_release_id(self): releases = self.client.get_releases() for release in releases: if release['name'] == self.config['release']: return release['id'] raise exceptions.UnknownRelease(release=self.config['release'])