diff options
author | Mike Frysinger <vapier@google.com> | 2023-10-19 05:13:32 -0400 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-10-20 04:51:01 +0000 |
commit | d4aee6570b64c5b6de584b0a5ce76e6a139faf38 (patch) | |
tree | c70cfd687689cff85ca7682071ccd0c8f690536c /repo | |
parent | 024df06ec15d7304fbb5f9a2b1aa44f2af9daf4c (diff) | |
download | git-repo-d4aee6570b64c5b6de584b0a5ce76e6a139faf38.tar.gz |
delete Python 2 (object) compat
Bug: 302871152
Change-Id: I39636d73a6e1d69efa8ade74f75c5381651e6dc8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390054
Commit-Queue: Mike Frysinger <vapier@google.com>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,7 +40,7 @@ MIN_PYTHON_VERSION_HARD = (3, 5) | |||
40 | 40 | ||
41 | 41 | ||
42 | # Keep basic logic in sync with repo_trace.py. | 42 | # Keep basic logic in sync with repo_trace.py. |
43 | class Trace(object): | 43 | class Trace: |
44 | """Trace helper logic.""" | 44 | """Trace helper logic.""" |
45 | 45 | ||
46 | REPO_TRACE = "REPO_TRACE" | 46 | REPO_TRACE = "REPO_TRACE" |
@@ -1214,7 +1214,7 @@ def _FindRepo(): | |||
1214 | return (repo, os.path.join(curdir, repodir)) | 1214 | return (repo, os.path.join(curdir, repodir)) |
1215 | 1215 | ||
1216 | 1216 | ||
1217 | class _Options(object): | 1217 | class _Options: |
1218 | help = False | 1218 | help = False |
1219 | version = False | 1219 | version = False |
1220 | 1220 | ||
@@ -1258,7 +1258,7 @@ def _ParseArguments(args): | |||
1258 | return cmd, opt, arg | 1258 | return cmd, opt, arg |
1259 | 1259 | ||
1260 | 1260 | ||
1261 | class Requirements(object): | 1261 | class Requirements: |
1262 | """Helper for checking repo's system requirements.""" | 1262 | """Helper for checking repo's system requirements.""" |
1263 | 1263 | ||
1264 | REQUIREMENTS_NAME = "requirements.json" | 1264 | REQUIREMENTS_NAME = "requirements.json" |