mirror of
https://github.com/munki/munki.git
synced 2026-05-23 22:58:37 -05:00
Minor spelling fixes (#1080)
* Fix "criteria" spelling in function name * Fix "supervisory" spelling in docstring
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user