changeset 37:b41f50162908

add a debug variable
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 08 Jan 2011 11:06:57 -0800
parents d91d3dfadb6b
children f586e28ff3d7
files autobot/template.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/template.py	Sat Jan 08 11:03:51 2011 -0800
+++ b/autobot/template.py	Sat Jan 08 11:06:57 2011 -0800
@@ -81,6 +81,7 @@
     description = 'template for the autotools buildbot master+slave'
     templates = ['template']
     vars = assemble(AutobotMasterTemplate, AutobotSlaveTemplate)
+    vars.append(Variable('debug', default=True, cast='eval'))
 
     def post(self, variables):
         AutobotMasterTemplate.create(self, os.path.join(self.output, 'master'), variables)