コード例 #1
0
ファイル: SFTP.py プロジェクト: zymptomLabs/sublime
def unload_handler():
    # Kill all connections
    SftpThread.cleanup()

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

    ExcepthookChain.remove('sftp_uncaught_except')
コード例 #3
0
ファイル: SFTP.py プロジェクト: 15871722713/Sublime-Text-3
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
ファイル: SFTP.py プロジェクト: Katafotic/dotfiles
def plugin_unloaded():
    try:
        SftpThread.cleanup()
    except (NameError):
        pass

    cmd_cleanup()

    ExcepthookChain.remove('sftp_uncaught_except')
コード例 #6
0
def unload_handler():
    SftpThread.cleanup()

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

    ExcepthookChain.remove('sftp_uncaught_except')