'Updates any new or changed dos definitions.'

def UpdateDos(self):

    if self.args:
        self.parser.error('Expected    a    single    <directory>    argument.')
    rpcserver = self._GetRpcServer()
    dos_yaml = self._ParseDosYaml(self.basepath)
    if dos_yaml:
        dos_upload = DosEntryUpload(rpcserver, dos_yaml, self.error_fh)
        dos_upload.DoUpload()
    else:
        print >>self.error_fh, 'Could    not    find    dos    configuration.    No    action    taken.'
