def releaseLicenseForRenderNode(self, licenseName, renderNode):
        """
        :licenseName: 
        :renderNode: render node object expected
        """
        if "&" not in licenseName:
            licenseName += "&"
        for licName in licenseName.split("&"):
            if len(licName):
                try:
                    lic = self.licenses[licName]
                    try:
                        if renderNode in lic.currentUsingRenderNodes:
                            rnId = lic.currentUsingRenderNodes.index(renderNode)
                            del lic.currentUsingRenderNodes[rnId]

                            lic.release()
                    except IndexError:
                        print "Cannot release license %s for renderNode %s" % (licName, renderNode)
                except __HOLE__:
                    print "License %s not found" % licName
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/octopus/dispatcher/licenses/licensemanager.py/LicenseManager.releaseLicenseForRenderNode