def get(self, licenseName):
        try:
            lic = self.dispatcher.licenseManager.licenses[licenseName]
            licenseRepr = "{'max':%s, 'used':%s, 'rns':[" % (str(lic.maximum), str(lic.used))
            for rn in sorted(lic.currentUsingRenderNodes):
                licenseRepr += "\"%s\"," % rn.name
            licenseRepr += "]}"
            self.writeCallback(licenseRepr)
        except __HOLE__:
            raise ResourceNotFoundError

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