Mercurial > hg > MakeItSo
diff 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 |
line wrap: on
line diff
--- a/makeitso/makeitso.py Thu Jan 06 12:23:10 2011 -0800 +++ b/makeitso/makeitso.py Thu Jan 06 12:29:47 2011 -0800 @@ -250,7 +250,7 @@ # find variables from files for f in filenames: path = os.path.join(dirpath, f) - template = URITemplate(path) + template = URITemplate(path, self.interactive=self.interactive) missed = template.missing(**variables) missing.update(missed) variables.update(dict([(i, '') for i in missed]))