Skip to content
Snippets Groups Projects
Commit ff11d743 authored by Josh Soref's avatar Josh Soref Committed by Kevin Harwell
Browse files

rest-api-templates: Spelling fixes

Correct typos of the following word families:

overwritten
descendants

ASTERISK-29714

Change-Id: I2307e35887a3437e50317a4b86f0893f25f9fd3b
parent 9641d150
No related branches found
No related tags found
Loading
...@@ -99,7 +99,7 @@ class PathSegment(Stringify): ...@@ -99,7 +99,7 @@ class PathSegment(Stringify):
self.full_name = "%s_%s" % (parent.full_name, self.name) self.full_name = "%s_%s" % (parent.full_name, self.name)
def get_child(self, path): def get_child(self, path):
"""Walks decendents to get path, creating it if necessary. """Walks descendants to get path, creating it if necessary.
@param path: List of path names. @param path: List of path names.
@return: PageSegment corresponding to path. @return: PageSegment corresponding to path.
......
...@@ -37,7 +37,7 @@ class Transform(object): ...@@ -37,7 +37,7 @@ class Transform(object):
@param template_file: Filename of the mustache template. @param template_file: Filename of the mustache template.
@param dest_file_template_str: Destination file name. This is a @param dest_file_template_str: Destination file name. This is a
mustache template, so each resource can write to a unique file. mustache template, so each resource can write to a unique file.
@param overwrite: If True, destination file is ovewritten if it exists. @param overwrite: If True, destination file is overwritten if it exists.
""" """
template_str = unicode(open(template_file, "r").read()) template_str = unicode(open(template_file, "r").read())
self.template = pystache.parse(template_str) self.template = pystache.parse(template_str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment