From ed4a8be12edb77e3c90553780c474ff028744bd4 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 27 Jul 2015 02:04:02 +0200 Subject: [PATCH] Revert "Use `"` with the shell argument for `system()`" This reverts commit 95b8dd77ba3f2676dfef275aa6df575db9a03e15. --- AUTHORS.txt | 1 - autoload/jedi.vim | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index cc4fbe0..72849fb 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -47,7 +47,6 @@ Matthew Tylee Atkinson (@matatk) Pedro Ferrari (@petobens) Daniel Hahler (@blueyed) Dave Honneffer (@pearofducks) -Daisuke Suzuki (@daisuzu) @something are github user names. diff --git a/autoload/jedi.vim b/autoload/jedi.vim index e8c86f4..314611c 100644 --- a/autoload/jedi.vim +++ b/autoload/jedi.vim @@ -70,7 +70,7 @@ function! s:init_python() " avoids starting both of them. " Get default python version from interpreter in $PATH. - let s:def_py = system('python -c "import sys; sys.stdout.write(str(sys.version_info[0]))"') + let s:def_py = system("python -c 'import sys; sys.stdout.write(str(sys.version_info[0]))'") if v:shell_error != 0 || !len(s:def_py) if !exists("g:jedi#squelch_py_warning") echohl WarningMsg