summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2018-03-11 20:07:18 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2018-03-11 20:15:46 +0000
commit9e2cd32ab0b7a1906c2cf47f594a70fcaf901502 (patch)
tree9585b84b7d9332a2e89d94906f4a7636b87f8c60 /alot
parentd863facd24edd03de19027895b21ced6e6fb9e8e (diff)
rename parameter of Command.apply method
.. from "caller" to "ui", as used throughout all subclasses. The inconsistent naming causes the codacity code checker (pylint) to complain every time we add a new command subclass.
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/__init__.py b/alot/commands/__init__.py
index bcd27c07..0887a76a 100644
--- a/alot/commands/__init__.py
+++ b/alot/commands/__init__.py
@@ -24,7 +24,7 @@ class Command(object):
self.undoable = False
self.help = self.__doc__
- def apply(self, caller):
+ def apply(self, ui):
"""code that gets executed when this command is applied"""
pass