diff --git a/salt/log/setup.py b/salt/log/setup.py index dac92b937a..afbae24078 100644 --- a/salt/log/setup.py +++ b/salt/log/setup.py @@ -395,7 +395,7 @@ def setup_logfile_logger(log_path, log_level='error', log_format=None, # Logging facilities start with LOG_ if this is not the case # fail right now! raise RuntimeError( - 'The syslog facility {0!r} is not know'.format( + 'The syslog facility {0!r} is not known'.format( facility_name ) ) @@ -410,7 +410,7 @@ def setup_logfile_logger(log_path, log_level='error', log_format=None, # This python syslog version does not know about the user provided # facility name raise RuntimeError( - 'The syslog facility {0!r} is not know'.format( + 'The syslog facility {0!r} is not known'.format( facility_name ) ) diff --git a/salt/version.py b/salt/version.py index 4e9c54db88..0c294cfc2c 100644 --- a/salt/version.py +++ b/salt/version.py @@ -221,7 +221,7 @@ class SaltStackVersion(object): def from_name(cls, name): if name.lower() not in cls.LNAMES: raise ValueError( - 'Named version {0!r} is not know'.format(name) + 'Named version {0!r} is not known'.format(name) ) return cls(*cls.LNAMES[name.lower()])