diff talosnames/api.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 15f17eeb1813
children cc0edf61ab21
line wrap: on
line diff
--- a/talosnames/api.py	Tue Jul 24 22:51:40 2012 -0700
+++ b/talosnames/api.py	Sun Aug 12 22:38:12 2012 -0700
@@ -92,8 +92,10 @@
         module = require.require(self.buildbot_config)
         self.suites = module.SUITES
         self.buildbot_commands = {}
+        self.buildbot_enabled = {}
         for key, value in self.suites.items():
             self.buildbot_commands[key] = value['suites']
+            self.buildbot_enabled[key] = value['enable_by_default']
 
     ### functions for fetching information