def lockVisibleAttrs(self, node):
        """
        SYNOPSIS
         Locks all keyable attributes on the input node.

        INPUTS
         (string) node:  The node to lock keyable attributes on.

        RETURNS: Nothing.
        """

        if not len(ls(node)):
            self.logger.error(node % "lockVisibleAttrs: input node does not exist '%s'.\n")
        node = self.convertToPyNode(node)

        keyableAttrs = node.listAttr(k=1)
        if keyableAttrs:
            for kAttr in keyableAttrs:
                try:
                    kAttr.lock()
                except:
                    pass
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/mayaCore.py/MayaVisibilityCore.lockVisibleAttrs/swapped operands of `%`