[Asterisk-code-review] rest-api-templates: Spelling fixes (asterisk[master])

Kevin Harwell asteriskteam at digium.com
Mon Nov 15 15:50:06 CST 2021


Kevin Harwell has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/17313 )

Change subject: rest-api-templates: Spelling fixes
......................................................................

rest-api-templates: Spelling fixes

Correct typos of the following word families:

overwritten
descendants

ASTERISK-29714

Change-Id: I2307e35887a3437e50317a4b86f0893f25f9fd3b
---
M rest-api-templates/asterisk_processor.py
M rest-api-templates/transform.py
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Kevin Harwell: Approved for Submit



diff --git a/rest-api-templates/asterisk_processor.py b/rest-api-templates/asterisk_processor.py
index de4732c..ad88ebb 100644
--- a/rest-api-templates/asterisk_processor.py
+++ b/rest-api-templates/asterisk_processor.py
@@ -99,7 +99,7 @@
             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.
diff --git a/rest-api-templates/transform.py b/rest-api-templates/transform.py
index 88f7d2e..cb524c6 100644
--- a/rest-api-templates/transform.py
+++ b/rest-api-templates/transform.py
@@ -37,7 +37,7 @@
         @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)

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17313
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I2307e35887a3437e50317a4b86f0893f25f9fd3b
Gerrit-Change-Number: 17313
Gerrit-PatchSet: 2
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211115/dd8dad98/attachment.html>


More information about the asterisk-code-review mailing list