From b1e81707c1186af1eb65a58491b29476644f2c48 Mon Sep 17 00:00:00 2001 From: ZyX Date: Thu, 30 Jan 2014 00:31:50 +0400 Subject: [PATCH] Change warning level to debug --- powerline/segments/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/segments/shell.py b/powerline/segments/shell.py index 1245d109..af894ebf 100644 --- a/powerline/segments/shell.py +++ b/powerline/segments/shell.py @@ -57,7 +57,7 @@ def mode(pl, segment_info, override={'vicmd': 'COMMND', 'viins': 'INSERT'}, defa ''' mode = segment_info['mode'] if not mode: - pl.warn('No or empty POWERLINE_MODE variable') + pl.debug('No or empty POWERLINE_MODE variable') return None default = default or segment_info['environ'].get('POWERLINE_DEFAULT_MODE') if mode == default: