summaryrefslogtreecommitdiffstats
path: root/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'command.py')
-rw-r--r--command.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/command.py b/command.py
index 971f968b..eb3527f0 100644
--- a/command.py
+++ b/command.py
@@ -218,11 +218,6 @@ class Command(object):
218 return result 218 return result
219 219
220 220
221# pylint: disable=W0223
222# Pylint warns that the `InteractiveCommand` and `PagedCommand` classes do not
223# override method `Execute` which is abstract in `Command`. Since that method
224# is always implemented in classes derived from `InteractiveCommand` and
225# `PagedCommand`, this warning can be suppressed.
226class InteractiveCommand(Command): 221class InteractiveCommand(Command):
227 """Command which requires user interaction on the tty and 222 """Command which requires user interaction on the tty and
228 must not run within a pager, even if the user asks to. 223 must not run within a pager, even if the user asks to.
@@ -238,8 +233,6 @@ class PagedCommand(Command):
238 def WantPager(self, _opt): 233 def WantPager(self, _opt):
239 return True 234 return True
240 235
241# pylint: enable=W0223
242
243 236
244class MirrorSafeCommand(object): 237class MirrorSafeCommand(object):
245 """Command permits itself to run within a mirror, 238 """Command permits itself to run within a mirror,