summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2019-05-27 18:31:47 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2019-05-27 18:31:47 +0100
commitdff018e7cb6c885433e1e91fe0e5162e1e329301 (patch)
tree134e5229f87ae6e813368057260c404d93e4e6aa /alot/ui.py
parent7f800370151466fb07db1eba4b3b343cbd03561c (diff)
remove old new-style classes syntax
Python3 only supports "new-style" classes (those extending object), and we don't need to explicitly inherit from this root class any more. See http://pylint-messages.wikidot.com/messages:c1001
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 3a111a40..2a156f68 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -34,7 +34,7 @@ async def periodic(callable_, period, *args, **kwargs):
await asyncio.sleep(period)
-class UI(object):
+class UI:
"""
This class integrates all components of alot and offers
methods for user interaction like :meth:`prompt`, :meth:`notify` etc.