def cleanMeshes(self, meshes=[]):
        """
        SYNOPSIS: Cleans out duplicate shape nodes
        INPUTS*: meshes = list of specific meshes to clean
        RETURNS: None

        NOTE: Do not run this command on deformed objects (other than skin cluster type)
        TODO: Find a way to query if a mesh is being deformed period....
        """
        if not meshes:
            meshes = self.gimmeMeshes()
        if meshes:
            for m in meshes:
                if not m.isReferenced():
                    shapes = m.getShapes()
                    for s in shapes:
                        if s.intermediateObject.get():
                            if not s.outputs():
                                delete(s)
                    rename(m.getShape(), m.name() % '%sShape')
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/core/mayaCore.py/MayaMeshCore.cleanMeshes/swapped operands of `%`