From 14f1b3e8826ce43b978db93a62d1166055db5394 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:26:05 +0000 Subject: Vendor import of lldb trunk r290819: https://llvm.org/svn/llvm-project/lldb/trunk@290819 --- utils/vim-lldb/python-vim-lldb/plugin.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'utils/vim-lldb/python-vim-lldb/plugin.py') diff --git a/utils/vim-lldb/python-vim-lldb/plugin.py b/utils/vim-lldb/python-vim-lldb/plugin.py index 694783a95b0e4..c59546c745cd6 100644 --- a/utils/vim-lldb/python-vim-lldb/plugin.py +++ b/utils/vim-lldb/python-vim-lldb/plugin.py @@ -1,14 +1,16 @@ -# Try to import all dependencies, catch and handle the error gracefully if it fails. +# Try to import all dependencies, catch and handle the error gracefully if +# it fails. import import_lldb try: - import lldb - import vim + import lldb + import vim except ImportError: - sys.stderr.write("Unable to load vim/lldb module. Check lldb is on the path is available (or LLDB is set) and that script is invoked inside Vim with :pyfile") - pass + sys.stderr.write( + "Unable to load vim/lldb module. Check lldb is on the path is available (or LLDB is set) and that script is invoked inside Vim with :pyfile") + pass else: - # Everthing went well, so use import to start the plugin controller - from lldb_controller import * + # Everthing went well, so use import to start the plugin controller + from lldb_controller import * -- cgit v1.2.3