summaryrefslogtreecommitdiff
path: root/cloudinit/templater.py
diff options
context:
space:
mode:
authorDominic Schlegel <dominic.schlegel@hostpoint.ch>2019-10-16 13:49:43 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-10-16 13:49:43 +0000
commit26e1f063677d974ab3b1a48e010e732a538b9a8d (patch)
tree7b4148e91f72224ddbf530aa07368872c0638d6e /cloudinit/templater.py
parent823708ea031290c864e3aef67f60f6eb495f281d (diff)
downloadcloud-init-git-26e1f063677d974ab3b1a48e010e732a538b9a8d.tar.gz
Small typo fixes in code comments.
Diffstat (limited to 'cloudinit/templater.py')
-rw-r--r--cloudinit/templater.py4
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