summaryrefslogtreecommitdiff
path: root/alot/buffers/buffer.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-04-25 18:10:25 +0200
committerAnton Khirnov <anton@khirnov.net>2020-04-25 18:10:25 +0200
commita9e8f3271055740c9b96bb83483a09381f15312b (patch)
treed1f3f6dca6432571c74358e4eb4fe7151c0900a6 /alot/buffers/buffer.py
parent0c4e47fef27bf2d883dae3270faaef69a58a7067 (diff)
buffer: drop the ui parameter when not needed
Diffstat (limited to 'alot/buffers/buffer.py')
-rw-r--r--alot/buffers/buffer.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/alot/buffers/buffer.py b/alot/buffers/buffer.py
index 38aff329..d5b662eb 100644
--- a/alot/buffers/buffer.py
+++ b/alot/buffers/buffer.py
@@ -8,10 +8,6 @@ class Buffer:
modename = None # mode identifier for subclasses
- def __init__(self, ui, widget):
- self.ui = ui
- self.body = widget
-
def __str__(self):
return '[%s]' % self.modename