def createConfiguration(self, fileContents, path, schedule=None, repMap=None, repMaps=None):
    self.configFiles = self.createFiles(fileContents, path, repMap=repMap, repMaps=repMaps)
    if (not (schedule == None)):
        schedule = [os.path.join(path, cfgName) for cfgName in schedule]
        for cfgName in schedule:
            if (not (cfgName in self.configFiles)):
                msg = ('scheduled %s missing in generated configfiles: %s' % (cfgName, self.configFiles))
                raise AllInOneError(msg)
        for cfgName in self.configFiles:
            if (not (cfgName in schedule)):
                msg = ('generated configuration %s not scheduled: %s' % (cfgName, schedule))
                raise AllInOneError(msg)
        self.configFiles = schedule
    return self.configFiles
def createConfiguration(self, fileContents, path, schedule=None, repMap=None, repMaps=None):
    self.configFiles = self.createFiles(fileContents, path, repMap=repMap, repMaps=repMaps)
    if (not (schedule == None)):
        schedule = [os.path.join(path, cfgName) for cfgName in schedule]
        for cfgName in schedule:
            if (not (cfgName in self.configFiles)):
                msg = ('scheduled %s missing in generated configfiles: %s' % (cfgName, self.configFiles))
                raise AllInOneError(msg)
        for cfgName in self.configFiles:
            if (not (cfgName in schedule)):
                msg = ('generated configuration %s not scheduled: %s' % (cfgName, schedule))
                raise AllInOneError(msg)
        self.configFiles = schedule
    return self.configFiles