summaryrefslogtreecommitdiffstats
path: root/lldb/utils/vim-lldb/python-vim-lldb/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/utils/vim-lldb/python-vim-lldb/plugin.py')
-rw-r--r--lldb/utils/vim-lldb/python-vim-lldb/plugin.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/lldb/utils/vim-lldb/python-vim-lldb/plugin.py b/lldb/utils/vim-lldb/python-vim-lldb/plugin.py
index 694783a95b0..c59546c745c 100644
--- a/lldb/utils/vim-lldb/python-vim-lldb/plugin.py
+++ b/lldb/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 *
OpenPOWER on IntegriCloud