From 70619f906d06d7e8175045721747e548ddb340d1 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Fri, 15 Nov 2013 02:26:29 -0600 Subject: [PATCH] Minor spelling fix s/is not know'/is not known'/ --- salt/log/setup.py | 4 ++-- salt/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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()])