mirror of
https://github.com/powerline/powerline.git
synced 2025-07-30 17:25:28 +02:00
Change warning level to debug
This commit is contained in:
parent
ac04a1806f
commit
b1e81707c1
@ -57,7 +57,7 @@ def mode(pl, segment_info, override={'vicmd': 'COMMND', 'viins': 'INSERT'}, defa
|
|||||||
'''
|
'''
|
||||||
mode = segment_info['mode']
|
mode = segment_info['mode']
|
||||||
if not mode:
|
if not mode:
|
||||||
pl.warn('No or empty POWERLINE_MODE variable')
|
pl.debug('No or empty POWERLINE_MODE variable')
|
||||||
return None
|
return None
|
||||||
default = default or segment_info['environ'].get('POWERLINE_DEFAULT_MODE')
|
default = default or segment_info['environ'].get('POWERLINE_DEFAULT_MODE')
|
||||||
if mode == default:
|
if mode == default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user