From ebc2b5befa9d3f8370a012ea8df25b2807ea83d5 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 18 Aug 2017 17:12:07 -0700 Subject: 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. --- alot/widgets/thread.py | 1 - 1 file changed, 1 deletion(-) (limited to 'alot/widgets') 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)) -- cgit v1.2.3