mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Fix minimal python versions
s/3\.2/3.3
This commit is contained in:
parent
c2cf679c6f
commit
f3462768de
@ -10,7 +10,7 @@ function! s:CriticalError(message)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
if ! has('python') && ! has('python3')
|
if ! has('python') && ! has('python3')
|
||||||
call s:CriticalError('You need vim compiled with Python 2.7 or 3.2+ support
|
call s:CriticalError('You need vim compiled with Python 2.7 or 3.3+ support
|
||||||
\ for Powerline to work. Please consult the documentation for more details.')
|
\ for Powerline to work. Please consult the documentation for more details.')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
@ -33,7 +33,7 @@ catch
|
|||||||
if !exists('s:launched')
|
if !exists('s:launched')
|
||||||
call s:CriticalError('An error occured while importing the Powerline package.
|
call s:CriticalError('An error occured while importing the Powerline package.
|
||||||
\ This could be caused by an invalid sys.path setting, or by an incompatible
|
\ This could be caused by an invalid sys.path setting, or by an incompatible
|
||||||
\ Python version (Powerline requires Python 2.7 or 3.2+ to work). Please consult
|
\ Python version (Powerline requires Python 2.7 or 3.3+ to work). Please consult
|
||||||
\ the troubleshooting section in the documentation for possible solutions.')
|
\ the troubleshooting section in the documentation for possible solutions.')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user