Minor spelling fixes (#1080)

* Fix "criteria" spelling in function name

* Fix "supervisory" spelling in docstring
This commit is contained in:
Elliot Jordan
2021-03-04 09:35:09 -08:00
committed by GitHub
parent 9d901944e8
commit 1e3bb8a8a9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ from munkilib import FoundationPlist
from munkilib.admin import pkginfolib
def has_valid_install_critieria(pkginfo):
def has_valid_install_criteria(pkginfo):
"""
Inspects compiled catalog info dictionary for valid install criteria.
Returns boolean.
@@ -120,7 +120,7 @@ def main():
exit(-1)
if (len(arguments) == 1 and
not has_valid_install_critieria(pkginfo)):
not has_valid_install_criteria(pkginfo)):
item = pkginfo['name']
msg = (
"WARNING: pkginfo for '%s' contains no installation check info!\n"
+1 -1
View File
@@ -53,7 +53,7 @@ KILL_WAIT_SECS = 1
class Supervisor(object):
"""Class to handle our supervisiory functions"""
"""Class to handle our supervisory functions"""
def __init__(self, delayrandom_abort=False):
"""Init.