Fix spelling errors in comments
Change-Id: Icc8f26d8df00e52ef10781c91071356daa799afa
This commit is contained in:
parent
d9edf600e7
commit
79b4316942
|
@ -7,7 +7,7 @@
|
|||
filters_path=/etc/oslo-rootwrap/filters.d,/usr/share/oslo-rootwrap
|
||||
|
||||
# List of directories to search executables in, in case filters do not
|
||||
# explicitely specify a full path (separated by ',')
|
||||
# explicitly specify a full path (separated by ',')
|
||||
# If not specified, defaults to system PATH environment variable.
|
||||
# These directories MUST all be only writeable by root !
|
||||
exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin
|
||||
|
|
|
@ -174,7 +174,7 @@ class KillFilter(CommandFilter):
|
|||
return False
|
||||
|
||||
# NOTE(yufang521247): /proc/PID/exe may have '\0' on the
|
||||
# end, because python doen't stop at '\0' when read the
|
||||
# end, because python doesn't stop at '\0' when read the
|
||||
# target path.
|
||||
command = command.partition('\0')[0]
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ class RootwrapConfig(object):
|
|||
v = config.get("DEFAULT", "syslog_log_level")
|
||||
self.syslog_log_level = logging.getLevelName(v.upper())
|
||||
if (self.syslog_log_level == "Level %s" % v.upper()):
|
||||
raise ValueError('Unexepected syslog_log_level: %s' % v)
|
||||
raise ValueError('Unexpected syslog_log_level: %s' % v)
|
||||
else:
|
||||
self.syslog_log_level = logging.ERROR
|
||||
|
||||
|
|
Loading…
Reference in New Issue