'Sets self.processes and self.process from the kwargs if those
values exist, otherwise, leaves those values as they were set in
the config file.
:param kwargs: Keyword args passed into the run_forever(), run_once()
methods.  They have values specified on the command
line when the daemon is run.'

def get_process_values(self, kwargs):

    if (kwargs.get('processes') is not None):
        self.processes = int(kwargs['processes'])
    if (kwargs.get('process') is not None):
        self.process = int(kwargs['process'])
    if (self.process < 0):
        raise ValueError('process    must    be    an    integer    greater    than    or    equal    to    0')
    if (self.processes < 0):
        raise ValueError('processes    must    be    an    integer    greater    than    or    equal    to    0')
    if (self.processes and (self.process >= self.processes)):
        raise ValueError('process    must    be    less    than    processes')
