# HG changeset patch # User Jeff Hammel # Date 1294454349 28800 # Node ID fdddf883c19d4e6886451c3ee06e1068f0b8ef9c # Parent 785b075be979db69137c92dc7d76dc163a86b8f0 first successful run of create-autobot script diff -r 785b075be979 -r fdddf883c19d autobot/template.py --- 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)