'Updates new or changed dispatch definitions.'

def UpdateDispatch(self):

    if self.args:
        self.parser.error('Expected    a    single    <directory>    argument.')
    rpcserver = self._GetRpcServer()
    dispatch_yaml = self._ParseDispatchYaml(self.basepath)
    if dispatch_yaml:
        dispatch_upload = DispatchEntryUpload(rpcserver, dispatch_yaml, self.error_fh)
        dispatch_upload.DoUpload()
    else:
        print >>self.error_fh, 'Could    not    find    dispatch    configuration.    No    action    taken.'
