Remove duplicated docstrings

This commit is contained in:
Florian Bruhin 2016-10-31 09:10:52 +01:00
parent 14ecbc0cec
commit 7d1b1d354d

View File

@ -522,7 +522,6 @@ class LineEditPrompt(_BasePrompt):
return True
def _allowed_commands(self):
"""Get the commands we could run as response to this message."""
return [('prompt-accept', 'Accept'), ('leave-mode', 'Abort')]
@ -631,7 +630,6 @@ class FilenamePrompt(_BasePrompt):
self._insert_path(idx, clicked=False)
def _allowed_commands(self):
"""Get the commands we could run as response to this message."""
return [('prompt-accept', 'Accept'), ('leave-mode', 'Abort')]