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 /hooks.py | |
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 'hooks.py')
-rw-r--r-- | hooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ from error import HookError | |||
22 | from git_refs import HEAD | 22 | from git_refs import HEAD |
23 | 23 | ||
24 | 24 | ||
25 | class RepoHook(object): | 25 | class RepoHook: |
26 | """A RepoHook contains information about a script to run as a hook. | 26 | """A RepoHook contains information about a script to run as a hook. |
27 | 27 | ||
28 | Hooks are used to run a python script before running an upload (for | 28 | Hooks are used to run a python script before running an upload (for |