comparison talosnames/web.py @ 41:4dfa9c298e3d

record whether a suite is enabled
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 12 Aug 2012 22:38:12 -0700
parents 10945dedde84
children 4e8c839dcdec
comparison
equal deleted inserted replaced
40:10945dedde84 41:4dfa9c298e3d
31 except: 31 except:
32 tests[suite] = None 32 tests[suite] = None
33 self.suites = suites 33 self.suites = suites
34 34
35 self.data = {'suites': self.suites, 35 self.data = {'suites': self.suites,
36 'enabled': self.api.buildbot_enabled, # whether the suite is enabled by default
36 'commands': self.api.buildbot_commands, 37 'commands': self.api.buildbot_commands,
37 'tbpl': dict([(suite, self.api.tbpl_name(suite)) 38 'tbpl': dict([(suite, self.api.tbpl_name(suite))
38 for suite in suites]), 39 for suite in suites]),
39 'tests': tests, 40 'tests': tests,
40 'pprint': pprint.pformat, 41 'pprint': pprint.pformat,