Mercurial > hg > MakeItSo
changeset 13:99588f138993
use full dot path to template
| author | Jeff Hammel <jhammel@mozilla.com> | 
|---|---|
| date | Mon, 15 Nov 2010 08:00:00 -0800 | 
| parents | a6fd93354f23 | 
| children | bf1ce840d0f0 | 
| files | makeitso/makeitso.py | 
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] | 
line wrap: on
 line diff
--- a/makeitso/makeitso.py Mon Nov 15 07:55:45 2010 -0800 +++ b/makeitso/makeitso.py Mon Nov 15 08:00:00 2010 -0800 @@ -82,7 +82,7 @@ content = os.linesep.join(content.splitlines()[1:]) variables = variables or {} - template = Template(content) + template = tempita.Template(content) missing = missing_variables(template, variables) if missing: # TODO: add a switch for interactive or not @@ -123,7 +123,7 @@ variables = set() for arg in args: content = file(arg).read() - template = Template(content) + template = tempita.Template(content) variables.update(template_variables(template)) # print them
