def uninitialize2(Plugin):

    def uninitializePlugin(obj):
        om.MFnPlugin(obj).deregisterNode(Plugin.typeid)
    return uninitializePlugin
def uninitialize2(Plugin):

    def uninitializePlugin(obj):
        om.MFnPlugin(obj).deregisterNode(Plugin.typeid)
    return uninitializePlugin