diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-15 17:49:02 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-15 17:49:02 -0700 |
commit | 136f3baf4bebc462a7b5f82ffbdd4b2f713b2709 (patch) | |
tree | 365502e9f0e436e8233a841bb74bbd7705e235d6 /cloudinit | |
parent | 37c0976f5d94c5abf47a848d92acd76feaf150a7 (diff) | |
download | vyos-cloud-init-136f3baf4bebc462a7b5f82ffbdd4b2f713b2709.tar.gz vyos-cloud-init-136f3baf4bebc462a7b5f82ffbdd4b2f713b2709.zip |
Change variable names to reflect usage correctly
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/templater.py | 6 |
1 files 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): |