summaryrefslogtreecommitdiff
path: root/alot/widgets/search.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-12-18 11:14:47 +0100
committerLucas Hoffmann <l-m-h@web.de>2016-12-18 22:53:10 +0100
commit181161f62fed0dedb07c027bcca7770b3a68fcf8 (patch)
tree84d25d44877203d83b6174eb75e7ddfb349e4426 /alot/widgets/search.py
parent459c4b8ee2c42a0b855486484a4ebad458d53e8a (diff)
Turn methods with no `self` usage into staticmethods
Diffstat (limited to 'alot/widgets/search.py')
-rw-r--r--alot/widgets/search.py2
1 files changed, 1 insertions, 1 deletions
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')