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>
This commit is contained in:
parent
024df06ec1
commit
d4aee6570b
19 changed files with 43 additions and 43 deletions
6
repo
6
repo
|
@ -40,7 +40,7 @@ MIN_PYTHON_VERSION_HARD = (3, 5)
|
|||
|
||||
|
||||
# Keep basic logic in sync with repo_trace.py.
|
||||
class Trace(object):
|
||||
class Trace:
|
||||
"""Trace helper logic."""
|
||||
|
||||
REPO_TRACE = "REPO_TRACE"
|
||||
|
@ -1214,7 +1214,7 @@ def _FindRepo():
|
|||
return (repo, os.path.join(curdir, repodir))
|
||||
|
||||
|
||||
class _Options(object):
|
||||
class _Options:
|
||||
help = False
|
||||
version = False
|
||||
|
||||
|
@ -1258,7 +1258,7 @@ def _ParseArguments(args):
|
|||
return cmd, opt, arg
|
||||
|
||||
|
||||
class Requirements(object):
|
||||
class Requirements:
|
||||
"""Helper for checking repo's system requirements."""
|
||||
|
||||
REQUIREMENTS_NAME = "requirements.json"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue