From 181161f62fed0dedb07c027bcca7770b3a68fcf8 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Sun, 18 Dec 2016 11:14:47 +0100 Subject: Turn methods with no `self` usage into staticmethods --- alot/widgets/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot/widgets/search.py') diff --git a/alot/widgets/search.py b/alot/widgets/search.py index c0b12007..7b7cd52d 100644 --- a/alot/widgets/search.py +++ b/alot/widgets/search.py @@ -177,7 +177,7 @@ class ThreadlineWidget(urwid.AttrMap): def get_thread(self): return self.thread - def _get_theme(self, component, focus=False): + def _get_theme(component, focus=False): path = ['search', 'threadline', component] if focus: path.append('focus') -- cgit v1.2.3