def put(self, licenseName):
        data = self.getBodyAsJSON()
        try:
            maxLic = data['maxlic']
        except __HOLE__:
            raise Http404("Missing entry : 'maxlic'")
        else:
            self.dispatcher.licenseManager.setMaxLicensesNumber(licenseName, maxLic)
            self.writeCallback("OK")

    #@queue
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/octopus/dispatcher/webservice/licenses.py/LicenseResource.put