diff options
author | Dominic Schlegel <dominic.schlegel@hostpoint.ch> | 2019-10-16 13:49:43 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-10-16 13:49:43 +0000 |
commit | 26e1f063677d974ab3b1a48e010e732a538b9a8d (patch) | |
tree | 7b4148e91f72224ddbf530aa07368872c0638d6e /cloudinit/templater.py | |
parent | 823708ea031290c864e3aef67f60f6eb495f281d (diff) | |
download | vyos-cloud-init-26e1f063677d974ab3b1a48e010e732a538b9a8d.tar.gz vyos-cloud-init-26e1f063677d974ab3b1a48e010e732a538b9a8d.zip |
Small typo fixes in code comments.
Diffstat (limited to 'cloudinit/templater.py')
-rw-r--r-- | cloudinit/templater.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/templater.py b/cloudinit/templater.py index b668674b..e47cdeda 100644 --- a/cloudinit/templater.py +++ b/cloudinit/templater.py @@ -44,7 +44,7 @@ MISSING_JINJA_PREFIX = u'CI_MISSING_JINJA_VAR/' @implements_to_string # Needed for python2.7. Otherwise cached super.__str__ class UndefinedJinjaVariable(JUndefined): - """Class used to represent any undefined jinja template varible.""" + """Class used to represent any undefined jinja template variable.""" def __str__(self): return u'%s%s' % (MISSING_JINJA_PREFIX, self._undefined_name) @@ -58,7 +58,7 @@ class UndefinedJinjaVariable(JUndefined): def basic_render(content, params): - """This does sumple replacement of bash variable like templates. + """This does simple replacement of bash variable like templates. It identifies patterns like ${a} or $a and can also identify patterns like ${a.b} or $a.b which will look for a key 'b' in the dictionary rooted |