diff options
Diffstat (limited to 'command.py')
| -rw-r--r-- | command.py | 7 |
1 files changed, 0 insertions, 7 deletions
| @@ -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. | ||
| 226 | class InteractiveCommand(Command): | 221 | class 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 | ||
| 244 | class MirrorSafeCommand(object): | 237 | class MirrorSafeCommand(object): |
| 245 | """Command permits itself to run within a mirror, | 238 | """Command permits itself to run within a mirror, |
