diff options
Diffstat (limited to 'app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch')
| -rw-r--r-- | app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch b/app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch deleted file mode 100644 index fb92614233bd..000000000000 --- a/app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://github.com/klen/python-mode/issues/162 ---- a/ftplugin/python/init-pymode.vim -+++ b/ftplugin/python/init-pymode.vim -@@ -46,10 +46,9 @@ if !pymode#Default('g:pymode_path', 1) || g:pymode_path - python << EOF - import sys, vim, os - --curpath = vim.eval("getcwd()") - libpath = os.path.join(vim.eval("expand('<sfile>:p:h:h:h')"), 'pylibs') - --sys.path = [libpath, curpath] + vim.eval("g:pymode_paths") + sys.path -+sys.path = [libpath] + vim.eval("g:pymode_paths") + sys.path - EOF - - endif " }}} |
