summaryrefslogtreecommitdiff
path: root/alot/commands/envelope.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-07-14 12:43:38 +0200
committerLucas Hoffmann <l-m-h@web.de>2016-12-09 11:06:31 +0100
commite2de9282a33a8906077a3d223d025367071bce6b (patch)
tree052da99e5736321e2106456031ccd280f86df499 /alot/commands/envelope.py
parent3b22ecddf6263497629b4ad910b848dec18d51f1 (diff)
Remove braces after `del` and `return`
`del` and `return` are keywords and not functions so the braces are not needed.
Diffstat (limited to 'alot/commands/envelope.py')
-rw-r--r--alot/commands/envelope.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index c8362037..e14d2f55 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -414,7 +414,7 @@ class SetCommand(Command):
envelope = ui.current_buffer.envelope
if self.reset:
if self.key in envelope:
- del(envelope[self.key])
+ del envelope[self.key]
envelope.add(self.key, self.value)
ui.current_buffer.rebuild()
@@ -432,7 +432,7 @@ class UnsetCommand(Command):
Command.__init__(self, **kwargs)
def apply(self, ui):
- del(ui.current_buffer.envelope[self.key])
+ del ui.current_buffer.envelope[self.key]
ui.current_buffer.rebuild()