def setMaxLicensesNumber(self, licenseName, number):
        try:
            lic = self.licenses[licenseName]
            if lic.maximum != number:
                lic.setMaxNumber(number)
        except __HOLE__:
            self.licenses[licenseName] = LicenseManager.License(licenseName, number)
            print "License %r not found... Creating new entry" % licenseName
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/octopus/dispatcher/licenses/licensemanager.py/LicenseManager.setMaxLicensesNumber