Ejemplo n.º 1
0
 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"])
Ejemplo n.º 2
0
 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'])