comparison makeitso/makeitso.py @ 114:b8d5d2041fe0

stub out project name -> package name
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 17 Jan 2011 14:38:42 -0800
parents c3b8ce33d3ad
children 0107f95376b3
comparison
equal deleted inserted replaced
113:c3b8ce33d3ad 114:b8d5d2041fe0
369 369
370 # get the variables 370 # get the variables
371 vars = self.get_variables(**variables) 371 vars = self.get_variables(**variables)
372 self.check_missing(vars) 372 self.check_missing(vars)
373 373
374 # make the output directory 374 # make the output directory if multiple templates
375 if output and len(self.templates) > 1 and not os.path.exists(output): 375 if output and len(self.templates) > 1 and not os.path.exists(output):
376 os.makedirs(output) 376 os.makedirs(output)
377 377
378 # do the substitution 378 # do the substitution
379 for template in self.templates: 379 for template in self.templates: