From 3465d7b8f7f3b08abaed06c6e184ad50ed3f0935 Mon Sep 17 00:00:00 2001 From: paulkass Date: Fri, 3 Jul 2020 17:30:27 -0700 Subject: [PATCH] a bit of code cleanup --- plugin/setup.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/setup.vim b/plugin/setup.vim index 80e7a4e..e74e87b 100644 --- a/plugin/setup.vim +++ b/plugin/setup.vim @@ -11,8 +11,7 @@ execute "python3 sys.path.append('" . s:script_dir . "../')" " Check that all pip dependencies are installed python3 import python.util.pip_check -let s:status = py3eval("python.util.pip_check.check()") -if s:status == 1 +if py3eval("python.util.pip_check.check()") " throw "Please consult the 'jiravim-pip-install' help tag for help on installing pip dependencies." finish endif