comparison makeitso/makeitso.py @ 42:73dac34d2692

more stubbing of API class; first get something off the ground; then rewrite
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 04 Jan 2011 07:38:49 -0800
parents 9956e13558dd
children 6e08cca7d656
comparison
equal deleted inserted replaced
41:9956e13558dd 42:73dac34d2692
281 template = URITemplate(path, output=target, interactive=False) 281 template = URITemplate(path, output=target, interactive=False)
282 template.substitute(**variables) 282 template.substitute(**variables)
283 283
284 284
285 class PolyTemplate(ContentTemplate): 285 class PolyTemplate(ContentTemplate):
286 """ 286 """template for several files/directories"""
287 template for several files/directories
288 """
289 287
290 def __init__(self, templates, output=None, interactive=True, **variables): 288 def __init__(self, templates, output=None, interactive=True, **variables):
291 289
292 assert templates, "No templates given!" 290 assert templates, "No templates given!"
293 291