def listcP(self, nodeWplug, quiet=0, all=0):  #@ReservedAssignment
        """
        SYNOPSIS
         Simple wrapper for listConnetions w/ plug

        INPUTS
         (PyNode.attr) mtNodeWPlug:  The metaNode.plug to look at connections.
         (bool)				quiet:	 1 = suppress warning
         (bool) 			  all:	 Return all connections

        RETURNS: (PyNode)  connected node via plug
        """
        try:
            if listConnections(nodeWplug):
                allConnections = listConnections(nodeWplug)
                if all:
                    return map(lambda x: PyNode(x), allConnections)
                return PyNode(allConnections[0])
        except:
            if not quiet:
                self.logger.warning(nodeWplug % "Nothing connected to '%s'")
            return 0
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/mayaCore.py/MayaMiscCore.listcP/swapped operands of `%`