From 2a4baa0a5983b1f7558c9a17fdf8c4faf9a0c53a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Silkeb=C3=A6kken?= Date: Sun, 16 Dec 2012 13:10:55 +0100 Subject: [PATCH] Minor code cleanup --- powerline/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/theme.py b/powerline/theme.py index c7f8e4fa..db90f315 100644 --- a/powerline/theme.py +++ b/powerline/theme.py @@ -52,7 +52,7 @@ class Theme(object): else: continue - if not segment['key'] in contents_override: + if segment['key'] not in contents_override: # Only apply before/after/just to non-overridden segments segment['contents'] = unicode(segment['before'] + unicode(segment['contents']) + segment['after'])\ .ljust(segment['ljust'])\