예제 #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"])
예제 #2
0
파일: fuel.py 프로젝트: sahanasj/rally
 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'])