summaryrefslogtreecommitdiff
path: root/alot/db/message.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/db/message.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/db/message.py')
-rw-r--r--alot/db/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/message.py b/alot/db/message.py
index c94d355b..6d6e6455 100644
--- a/alot/db/message.py
+++ b/alot/db/message.py
@@ -115,7 +115,7 @@ class Message(object):
def has_replies(self):
"""returns true if this message has at least one reply"""
- return (len(self.get_replies()) > 0)
+ return len(self.get_replies()) > 0
def get_replies(self):
"""returns replies to this message as list of :class:`Message`"""