comparison makeitso/makeitso.py @ 53:599c365d9105

instantiate subtemplates with the appropriate interactive argument
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 06 Jan 2011 12:29:47 -0800
parents 2765a700982e
children d3e1e5745f24
comparison
equal deleted inserted replaced
52:2765a700982e 53:599c365d9105
248 variables.update(dict([(i, '') for i in missed])) 248 variables.update(dict([(i, '') for i in missed]))
249 249
250 # find variables from files 250 # find variables from files
251 for f in filenames: 251 for f in filenames:
252 path = os.path.join(dirpath, f) 252 path = os.path.join(dirpath, f)
253 template = URITemplate(path) 253 template = URITemplate(path, self.interactive=self.interactive)
254 missed = template.missing(**variables) 254 missed = template.missing(**variables)
255 missing.update(missed) 255 missing.update(missed)
256 variables.update(dict([(i, '') for i in missed])) 256 variables.update(dict([(i, '') for i in missed]))
257 257
258 return missing 258 return missing