mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 13:55:45 +02:00
Make it immune to the absense of powerline_appended_path
This commit is contained in:
parent
a919b453ee
commit
0bb14dbe9c
@ -125,6 +125,7 @@ finally
|
||||
call s:rcmd(" real_powerline_dir = os.path.realpath(powerline_dir)")
|
||||
call s:rcmd(" real_this_dir = os.path.realpath(this_dir)")
|
||||
call s:rcmd(" this_dir_par = os.path.dirname(real_this_dir)")
|
||||
call s:rcmd(" powerline_appended_path = globals().get('powerline_appended_path')")
|
||||
call s:rcmd(" if powerline_appended_path is not None and this_dir_par != powerline_appended_path:")
|
||||
call s:rcmd(" print('Check your installation: this script is symlinked somewhere')")
|
||||
call s:rcmd(" print('where powerline is not present: {0!r} != {1!r}.'.format(")
|
||||
|
Loading…
x
Reference in New Issue
Block a user