pyblish_maya/lib.py
def teardown():
    """Remove integration"""
    if not self._has_been_setup:
        return

    deregister_plugins()
    deregister_host()

    if self._has_menu:
        remove_from_filemenu()
        self._has_menu = False

    self._has_been_setup = False
    print("pyblish: Integration torn down successfully")
def teardown():
    """Remove integration"""
    if not self._has_been_setup:
        return

    deregister_plugins()
    deregister_host()

    if self._has_menu:
        remove_from_filemenu()
        self._has_menu = False

    self._has_been_setup = False
    print("pyblish: Integration torn down successfully")
def teardown ( ) : if not self . _has_been_setup : return deregister_plugins ( ) deregister_host ( ) if self . _has_menu : remove_from_filemenu ( ) self . _has_menu = False self . _has_been_setup = False print ( "pyblish: Integration torn down successfully" )
Remove integration
Remove integration