Merge "Fix typos"

This commit is contained in:
Jenkins 2016-05-04 10:41:37 +00:00 committed by Gerrit Code Review
commit 550d088f24
7 changed files with 8 additions and 8 deletions

View File

@ -101,7 +101,7 @@ ignore-mixin-members=yes
# List of module names for which member attributes should not be checked
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus extisting member attributes cannot be deduced by static analysis
# and thus existing member attributes cannot be deduced by static analysis
ignored-modules=distutils
# List of classes names for which member attributes should not be checked

View File

@ -139,7 +139,7 @@ class SessionManager(object):
def end_session(self, session_id, job_id, session_tag, result):
"""
Informs the freezer service that the job has ended.
Privides information about the job's result and the session tag
Provides information about the job's result and the session tag
:param session_id:
:param job_id:

View File

@ -96,7 +96,7 @@ class DaemonContext(object):
:param files_preserve:
List of integers, or objects with a fileno method, that
represent files that should not be closed while daemoninzing.
represent files that should not be closed while daemonizing.
:type files_preserve: list
:param pidfile:
@ -414,7 +414,7 @@ def detach_required():
""" Check if detaching is required
This is done by collecting the results of parent_is_inet and
parent_is_init. If one of them is True, detaching, aka the daemoninzing,
parent_is_init. If one of them is True, detaching, aka the daemonizing,
aka the double fork magic, is not required, and can be skipped.
:return: bool

View File

@ -350,7 +350,7 @@ class Job(object):
self.start_session()
# if the job contains exec action and the scheduler passes the
# parameter --disable-exec job execuation should fail
# parameter --disable-exec job execution should fail
if self.contains_exec() and CONF.disable_exec:
logging.info("Job {0} failed because it contains exec action "
"and exec actions are disabled by scheduler"

View File

@ -101,7 +101,7 @@ class Daemon(object):
def stop(self):
"""Stop the windows service by using sc queryex command, if we use
win32serviceutil.StoptService(self.service_name) it never gets stopped
becuase freezer_scheduler.start() blocks the windows service and
because freezer_scheduler.start() blocks the windows service and
prevents any new signal to reach the service.
"""
query = 'sc queryex {0}'.format(self.service_name)

View File

@ -304,7 +304,7 @@ def get_executable_path(binary):
:param binary:
:type binary: str
:rtype: str
:return: Absoulte Path to the executable file
:return: Absolute Path to the executable file
"""
from freezer.utils import winutils
if winutils.is_windows():

View File

@ -194,7 +194,7 @@ dry_run = False
# Megabytes, i.e. 500M or 8G. Default 5G.
# WARNING: It is important that the volume snapshot
# size will not be filled at 100% while executing the backup
# or the data on the volume snapshot will be currupted.
# or the data on the volume snapshot will be corrupted.
# This is an LVM behavior
lvm_snapsize = False