diff options
Diffstat (limited to 'command.py')
| -rw-r--r-- | command.py | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -46,7 +46,7 @@ class UsageError(RepoExitError): | |||
| 46 | """Exception thrown with invalid command usage.""" | 46 | """Exception thrown with invalid command usage.""" |
| 47 | 47 | ||
| 48 | 48 | ||
| 49 | class Command(object): | 49 | class Command: |
| 50 | """Base class for any command line action in repo.""" | 50 | """Base class for any command line action in repo.""" |
| 51 | 51 | ||
| 52 | # Singleton for all commands to track overall repo command execution and | 52 | # Singleton for all commands to track overall repo command execution and |
| @@ -498,11 +498,11 @@ class PagedCommand(Command): | |||
| 498 | return True | 498 | return True |
| 499 | 499 | ||
| 500 | 500 | ||
| 501 | class MirrorSafeCommand(object): | 501 | class MirrorSafeCommand: |
| 502 | """Command permits itself to run within a mirror, and does not require a | 502 | """Command permits itself to run within a mirror, and does not require a |
| 503 | working directory. | 503 | working directory. |
| 504 | """ | 504 | """ |
| 505 | 505 | ||
| 506 | 506 | ||
| 507 | class GitcClientCommand(object): | 507 | class GitcClientCommand: |
| 508 | """Command that requires the local client to be a GITC client.""" | 508 | """Command that requires the local client to be a GITC client.""" |
