mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
commit
341308485e
@ -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
|
||||
)
|
||||
)
|
||||
|
@ -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()])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user