changeset 26:fdddf883c19d

first successful run of create-autobot script
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 Jan 2011 18:39:09 -0800
parents 785b075be979
children 555fd1ba838d
files autobot/template.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/template.py	Fri Jan 07 18:35:20 2011 -0800
+++ b/autobot/template.py	Fri Jan 07 18:39:09 2011 -0800
@@ -52,7 +52,7 @@
         """
         called after the template is applied
         """
-        self.create()
+        self.create(self.output, variables)
 
 class AutobotSlaveTemplate(MakeItSoTemplate):
     name = 'autobot-slave'
@@ -83,8 +83,8 @@
     vars = assemble(AutobotMasterTemplate, AutobotSlaveTemplate)
 
     def post(self, variables):
-        AutobotMasterTemplate.create(self, os.path.join(output, 'master'), variables)
-        AutobotSlaveTemplate.create(self, os.path.join(output, 'slave'), variables)
+        AutobotMasterTemplate.create(self, os.path.join(self.output, 'master'), variables)
+        AutobotSlaveTemplate.create(self, os.path.join(self.output, 'slave'), variables)
 
 # CLI front end functions
 # (console_script entry points)