diff autobot/template.py @ 86:2616a5f49bd3

switch to .ini files for configuration
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 12 Jan 2011 11:29:00 -0800
parents d94fbaac7c2c
children d4452281f42a
line wrap: on
line diff
--- a/autobot/template.py	Wed Jan 12 11:17:03 2011 -0800
+++ b/autobot/template.py	Wed Jan 12 11:29:00 2011 -0800
@@ -54,6 +54,9 @@
         else:
             raise AssertionError("No factory provided")
 
+        # stringify
+        variables['factories'] = ' '.join([i for i in variables['factories'])
+
     def create(self, output, variables):
         command = ['buildbot', 'create-master', output]
         print ' '.join(command)