summaryrefslogtreecommitdiff
path: root/app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-10-20 23:10:18 +0200
committerMichał Górny <mgorny@gentoo.org>2018-10-20 23:12:03 +0200
commitfdf9c244f075bb210df36c4709bc188bdce5af11 (patch)
treea205c8118b79b86842798808657c16e63fb84943 /app-vim/python-mode/files/python-mode-0.6.18-dont-add-cwd-to-syspath.patch
parent3fb398627916e52d50782f9e2d37b6ac11c1048e (diff)
downloadgentoo-fdf9c244f075bb210df36c4709bc188bdce5af11.tar.gz
gentoo-fdf9c244f075bb210df36c4709bc188bdce5af11.tar.bz2
gentoo-fdf9c244f075bb210df36c4709bc188bdce5af11.zip
app-vim/python-mode: Remove last-rited pkg
Closes: https://bugs.gentoo.org/666152 Signed-off-by: Michał Górny <mgorny@gentoo.org>
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.patch15
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 " }}}