

def uninitializePlugin(mobject):
    plugin = OMMPx.MFnPlugin(mobject)
    try:
        plugin.deregisterNode(AM_ShoulderConstraintNode.kPluginNodeId)
    except:
        sys.stderr.write(('Failed to deregister node: %s\n' % AM_ShoulderConstraintNode.kPluginNodeTypeName))
        raise
    try:
        mobject.deregisterCommand(AM_ShoulderConstraintCmd.kPluginCmdName)
    except:
        sys.stderr.write(('Failed to unregister command: %s\n' % AM_ShoulderConstraintCmd.kPluginCmdName))
        raise

dataset/ETHPy150Open CountZer0/PipelineConstructionSet/maya/plugins/2014/win64/AM_ShoulderConstraint.py uninitializePlugin/VarMisuse@59/113 `plugin`->`mobject`