示例#1
0
def unload_handler():
    # Kill all connections
    SftpThread.cleanup()

    # Reset the exception handler
    if sys.excepthook.__name__ == 'uncaught_except':
        sys.excepthook = sys.__excepthook__
def unload_handler():
    try:
        SftpThread.cleanup()
    except (NameError):
        pass

    ExcepthookChain.remove('sftp_uncaught_except')
示例#3
0
def unload_handler():
    try:
        SftpThread.cleanup()
    except (NameError):
        pass

    ExcepthookChain.remove('sftp_uncaught_except')
示例#4
0
文件: SFTP.py 项目: Acathur/sublime
def unload_handler():
    # Kill all connections
    SftpThread.cleanup()

    # Reset the exception handler
    if sys.excepthook.__name__ == 'uncaught_except':
        sys.excepthook = sys.__excepthook__
示例#5
0
def plugin_unloaded():
    try:
        SftpThread.cleanup()
    except (NameError):
        pass

    cmd_cleanup()

    ExcepthookChain.remove('sftp_uncaught_except')
def unload_handler():
    SftpThread.cleanup()

    ExcepthookChain.remove('sftp_uncaught_except')
示例#7
0
def unload_handler():
    SftpThread.cleanup()

    ExcepthookChain.remove('sftp_uncaught_except')