From b163b242e06c9f714b05f57f7180c760f021cbb6 Mon Sep 17 00:00:00 2001
From: "luz.paz" <luzpaz@users.noreply.github.com>
Date: Sat, 3 Feb 2018 14:58:58 +0100
Subject: Comment typo fixing.

Luzpaz went ahead and found typos using `codespell -q 3`.
---
 gr-utils/python/modtool/cmakefile_editor.py                           | 2 +-
 .../modtool/gr-newmod/cmake/Modules/CMakeParseArgumentsCopy.cmake     | 2 +-
 gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake     | 4 ++--
 gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake          | 4 ++--
 gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.in            | 2 +-
 gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.swig_doc.in   | 2 +-
 gr-utils/python/modtool/modtool_rename.py                             | 2 +-
 gr-utils/python/modtool/scm.py                                        | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

(limited to 'gr-utils/python')

diff --git a/gr-utils/python/modtool/cmakefile_editor.py b/gr-utils/python/modtool/cmakefile_editor.py
index d57c650c5e..4148ad1960 100644
--- a/gr-utils/python/modtool/cmakefile_editor.py
+++ b/gr-utils/python/modtool/cmakefile_editor.py
@@ -50,7 +50,7 @@ class CMakeFileEditor(object):
         Then run:
         >>> C.remove_value('list', 'file.cc', 'SOURCES')
 
-        Returns the number of occurences of entry in the current file
+        Returns the number of occurrences of entry in the current file
         that were removed.
         """
         # In the case of the example above, these are cases we need to catch:
diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/CMakeParseArgumentsCopy.cmake b/gr-utils/python/modtool/gr-newmod/cmake/Modules/CMakeParseArgumentsCopy.cmake
index 7ce4c49ae5..66016cb2ff 100644
--- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/CMakeParseArgumentsCopy.cmake
+++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/CMakeParseArgumentsCopy.cmake
@@ -58,7 +58,7 @@
 # the new option.
 # E.g. my_install(TARGETS foo DESTINATION OPTIONAL) would result in
 # MY_INSTALL_DESTINATION set to "OPTIONAL", but MY_INSTALL_DESTINATION would
-# be empty and MY_INSTALL_OPTIONAL would be set to TRUE therefor.
+# be empty and MY_INSTALL_OPTIONAL would be set to TRUE therefore.
 
 #=============================================================================
 # Copyright 2010 Alexander Neundorf <neundorf@kde.org>
diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake
index 5bad57c51e..426fcfcf29 100644
--- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake
+++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake
@@ -190,7 +190,7 @@ endfunction(GR_LIBRARY_FOO)
 #   GR_GEN_TARGET_DEPS(unique_name target_deps <target1> <target2> ...)
 #   ADD_CUSTOM_COMMAND(<the usual args> ${target_deps})
 #
-# Custom command cant depend on targets, but can depend on executables,
+# Custom command can't depend on targets, but can depend on executables,
 # and executables can depend on targets. So this is the process:
 ########################################################################
 function(GR_GEN_TARGET_DEPS name var)
@@ -209,7 +209,7 @@ function(GR_GEN_TARGET_DEPS name var)
     endif(ARGN)
 
     if(CMAKE_CROSSCOMPILING)
-        set(${var} "DEPENDS;${name}" PARENT_SCOPE) #cant call command when cross
+        set(${var} "DEPENDS;${name}" PARENT_SCOPE) #can't call command when cross
     else()
         set(${var} "DEPENDS;${name};COMMAND;${name}" PARENT_SCOPE)
     endif()
diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
index 33f37d2731..04798b08e7 100644
--- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
+++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
@@ -35,7 +35,7 @@ include(GrPython)
 function(GR_SWIG_MAKE_DOCS output_file)
     if(ENABLE_DOXYGEN)
 
-        #setup the input files variable list, quote formated
+        #setup the input files variable list, quote formatted
         set(input_files)
         unset(INPUT_PATHS)
         foreach(input_path ${ARGN})
@@ -245,7 +245,7 @@ def get_swig_deps(file_path, level):
             inc_path = os.path.join(inc_dir, inc_file)
             if not os.path.exists(inc_path): continue
             deps.extend(get_swig_deps(inc_path, level-1))
-            break #found, we dont search in lower prio inc dirs
+            break #found, we don't search in lower prio inc dirs
     return deps
 
 if __name__ == '__main__':
diff --git a/gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.in b/gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.in
index ef07c13205..da8cb6ac38 100644
--- a/gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.in
+++ b/gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.in
@@ -945,7 +945,7 @@ HTML_STYLESHEET        =
 # user-defined cascading style sheet that is included after the standard
 # style sheets created by doxygen. Using this option one can overrule
 # certain style aspects. This is preferred over using HTML_STYLESHEET
-# since it does not replace the standard style sheet and is therefor more
+# since it does not replace the standard style sheet and is therefore more
 # robust against future updates. Doxygen will copy the style sheet file to
 # the output directory.
 
diff --git a/gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.swig_doc.in b/gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.swig_doc.in
index 19e17dc925..7470475c2c 100644
--- a/gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.swig_doc.in
+++ b/gr-utils/python/modtool/gr-newmod/docs/doxygen/Doxyfile.swig_doc.in
@@ -913,7 +913,7 @@ HTML_STYLESHEET        =
 # user-defined cascading style sheet that is included after the standard
 # style sheets created by doxygen. Using this option one can overrule
 # certain style aspects. This is preferred over using HTML_STYLESHEET
-# since it does not replace the standard style sheet and is therefor more
+# since it does not replace the standard style sheet and is therefore more
 # robust against future updates. Doxygen will copy the style sheet file to
 # the output directory.
 
diff --git a/gr-utils/python/modtool/modtool_rename.py b/gr-utils/python/modtool/modtool_rename.py
index 4d3f5cb17e..cc6bd3bd02 100644
--- a/gr-utils/python/modtool/modtool_rename.py
+++ b/gr-utils/python/modtool/modtool_rename.py
@@ -190,7 +190,7 @@ class ModToolRename(ModTool):
         if not os.path.isfile(filename):
             return False
         else:
-            print "In '%s' renaming occurences of '%s' to '%s'" % (filename, old, new)
+            print "In '%s' renaming occurrences of '%s' to '%s'" % (filename, old, new)
 
         cfile = open(filename).read()
         (cfile, nsubs) = re.subn(old, new, cfile)
diff --git a/gr-utils/python/modtool/scm.py b/gr-utils/python/modtool/scm.py
index ec6023ab3b..9b0ef7db5e 100644
--- a/gr-utils/python/modtool/scm.py
+++ b/gr-utils/python/modtool/scm.py
@@ -205,7 +205,7 @@ class SCMRepoFactory(object):
         return SCMRepository(self.path_to_repo)
 
     def make_empty_scm_manager(self, scm_type='git'):
-        """ Returns a valid, usable object of type SCMRepository for an unitialized dir. """
+        """ Returns a valid, usable object of type SCMRepository for an uninitialized dir. """
         if self.options.scm_mode == 'no':
             return SCMRepository(self.path_to_repo)
         for glbl in globals().values():
-- 
cgit v1.2.3