From 136f3baf4bebc462a7b5f82ffbdd4b2f713b2709 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 15 Jun 2012 17:49:02 -0700 Subject: Change variable names to reflect usage correctly --- cloudinit/templater.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloudinit/templater.py b/cloudinit/templater.py index 5839911c..41315adf 100644 --- a/cloudinit/templater.py +++ b/cloudinit/templater.py @@ -29,9 +29,9 @@ def render_from_file(fn, params): return render_string(util.load_file(fn), params, name=fn) -def render_to_file(name, outfile, params): - contents = render_from_file(name, params) - util.write_file(outfile, contents) +def render_to_file(fn, outfn, params): + contents = render_from_file(fn, params) + util.write_file(outfn, contents) def render_string(content, params, name=None): -- cgit v1.2.3