diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:26:05 +0000 |
| commit | 14f1b3e8826ce43b978db93a62d1166055db5394 (patch) | |
| tree | 0a00ad8d3498783fe0193f3b656bca17c4c8697d /utils/vim-lldb/python-vim-lldb/plugin.py | |
| parent | 4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff) | |
Notes
Diffstat (limited to 'utils/vim-lldb/python-vim-lldb/plugin.py')
| -rw-r--r-- | utils/vim-lldb/python-vim-lldb/plugin.py | 16 |
1 files changed, 9 insertions, 7 deletions
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 * |
