changeset 14:ddacd5faf0b4

get factories from the project dict
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 Jan 2011 12:11:58 -0800
parents 59cc21718ced
children d7c4e9d6d9dd
files autobot/template/master/master.cfg
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/template/master/master.cfg	Fri Jan 07 12:04:16 2011 -0800
+++ b/autobot/template/master/master.cfg	Fri Jan 07 12:11:58 2011 -0800
@@ -21,7 +21,8 @@
 ####### BUILDERS
 
 # define builder factory
-f1 = {{factory}}
+from autobot.projects import factories
+f1 = factories['{{factory}}']
 
 # define builder
 b1 = {'name': "buildbot-full",