diff options
Diffstat (limited to 'git_command.py')
-rw-r--r-- | git_command.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git_command.py b/git_command.py index 2e4974fa..0e256392 100644 --- a/git_command.py +++ b/git_command.py | |||
@@ -58,7 +58,7 @@ INVALID_GIT_EXIT_CODE = 126 | |||
58 | logger = RepoLogger(__file__) | 58 | logger = RepoLogger(__file__) |
59 | 59 | ||
60 | 60 | ||
61 | class _GitCall(object): | 61 | class _GitCall: |
62 | @functools.lru_cache(maxsize=None) | 62 | @functools.lru_cache(maxsize=None) |
63 | def version_tuple(self): | 63 | def version_tuple(self): |
64 | ret = Wrapper().ParseGitVersion() | 64 | ret = Wrapper().ParseGitVersion() |
@@ -148,7 +148,7 @@ def GetEventTargetPath(): | |||
148 | return path | 148 | return path |
149 | 149 | ||
150 | 150 | ||
151 | class UserAgent(object): | 151 | class UserAgent: |
152 | """Mange User-Agent settings when talking to external services | 152 | """Mange User-Agent settings when talking to external services |
153 | 153 | ||
154 | We follow the style as documented here: | 154 | We follow the style as documented here: |
@@ -272,7 +272,7 @@ def _build_env( | |||
272 | return env | 272 | return env |
273 | 273 | ||
274 | 274 | ||
275 | class GitCommand(object): | 275 | class GitCommand: |
276 | """Wrapper around a single git invocation.""" | 276 | """Wrapper around a single git invocation.""" |
277 | 277 | ||
278 | def __init__( | 278 | def __init__( |