Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
powerline
powerline-py2v3-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File powerline-py2v3-fix.patch of Package powerline
Index: powerline-2.5/powerline/bindings/vim/plugin/powerline.vim =================================================================== --- powerline-2.5.orig/powerline/bindings/vim/plugin/powerline.vim +++ powerline-2.5/powerline/bindings/vim/plugin/powerline.vim @@ -26,14 +26,14 @@ if exists('g:powerline_pycmd') let s:pyeval = g:powerline_pyeval let s:has_python = 1 endif -elseif has('python') - let s:has_python = 1 - let s:pycmd = 'py' - let s:pyeval = get(g:, 'powerline_pyeval', 'pyeval') elseif has('python3') let s:has_python = 1 let s:pycmd = 'py3' let s:pyeval = get(g:, 'powerline_pyeval', 'py3eval') +elseif has('python') + let s:has_python = 1 + let s:pycmd = 'py' + let s:pyeval = get(g:, 'powerline_pyeval', 'pyeval') else let s:has_python = 0 endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor