summaryrefslogtreecommitdiff
path: root/alot/widgets
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-08-18 17:12:07 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-08-19 12:52:26 -0700
commitebc2b5befa9d3f8370a012ea8df25b2807ea83d5 (patch)
treeece347d8e0e5a56b00e08cfbc70afe102ed4d213 /alot/widgets
parentfa3dd1b04567c4ea03fa658c3838b569531c79f5 (diff)
widgets/thread: Delete unused variable
This wasn't caught by static checkers since it is used in the other brach of the if statement containing this value.
Diffstat (limited to 'alot/widgets')
-rw-r--r--alot/widgets/thread.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py
index 31b89e9b..4c4e1c30 100644
--- a/alot/widgets/thread.py
+++ b/alot/widgets/thread.py
@@ -274,7 +274,6 @@ class MessageTree(CollapsibleTree):
if headers is None:
# collect all header/value pairs in the order they appear
- headers = mail.keys()
for key, value in mail.items():
dvalue = decode_header(value, normalize=normalize)
lines.append((key, dvalue))