Mercurial > mozilla > hg > talosnames
comparison talosnames/api.py @ 14:1b18b2746e69
minor fixes
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 10 Jul 2012 18:09:19 -0700 |
parents | 323a01abd180 |
children | 1713b3e244a7 |
comparison
equal
deleted
inserted
replaced
13:323a01abd180 | 14:1b18b2746e69 |
---|---|
94 | 94 |
95 def buildbot_command(self, name): | 95 def buildbot_command(self, name): |
96 """gets the buildbot command for a particular suite""" | 96 """gets the buildbot command for a particular suite""" |
97 return self.buildbot_commands.get(name) | 97 return self.buildbot_commands.get(name) |
98 | 98 |
99 def buildbot_config(self, name): | 99 def talos_config(self, name): |
100 """returns talos configuration for suite `name`""" | |
100 command = self.buildbot_command(name) | 101 command = self.buildbot_command(name) |
101 assert command is not None, "Suite not found: %s" % name | 102 assert command is not None, "Suite not found: %s" % name |
102 | 103 |
103 def __call__(self, name=None): | 104 def __call__(self, name=None): |
104 retval = [] | 105 retval = [] |