]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
rest-api-templates: Spelling fixes
authorJosh Soref <jsoref@users.noreply.github.com>
Sun, 31 Oct 2021 01:04:38 +0000 (21:04 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 17 Nov 2021 10:38:06 +0000 (04:38 -0600)
Correct typos of the following word families:

overwritten
descendants

ASTERISK-29714

Change-Id: I2307e35887a3437e50317a4b86f0893f25f9fd3b
(cherry picked from commit ff11d743317d6fafe6b3350c5f9b9b6b4094b9dc)

rest-api-templates/asterisk_processor.py
rest-api-templates/transform.py

index de4732c606e06e3293ac05881b4026786943ff1f..ad88ebba70abc8435594e5ebf3a57ebc4cd6e331 100644 (file)
@@ -99,7 +99,7 @@ class PathSegment(Stringify):
             self.full_name = "%s_%s" % (parent.full_name, self.name)
 
     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.
         @return: PageSegment corresponding to path.
index 88f7d2e67c000e0b224afaca7954fb5306ba484d..cb524c630ce51336f4d2dc35992d7a9ef6cff14a 100644 (file)
@@ -37,7 +37,7 @@ class Transform(object):
         @param template_file: Filename of the mustache template.
         @param dest_file_template_str: Destination file name. This is a
             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())
         self.template = pystache.parse(template_str)