diff options
author | Remy Bohmer <github@bohmer.net> | 2020-09-10 10:38:04 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2020-11-03 22:08:08 +0000 |
commit | 16c1328fecdbd950bb4f2c24f9c49a8ed0992c50 (patch) | |
tree | 0363dfa17bb9fd58a8afb4086c4b20b1928e7df7 /subcmds | |
parent | 6248e0fd1dcc5e0f76cb38056aa68af55fee5f3f (diff) | |
download | git-repo-16c1328fecdbd950bb4f2c24f9c49a8ed0992c50.tar.gz |
Move RepoHook class from project.py file to dedicated file
The project.py file is huge and contains multiple
classes. By moving it to seperate class files the code
becomes more readable and maintainable.
Signed-off-by: Remy Bohmer <github@bohmer.net>
Change-Id: Ida9d99d31751d627ae1ea0373418080696d2e14b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/281293
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py index a886af93..cc6ccf74 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -24,7 +24,7 @@ from editor import Editor | |||
24 | from error import HookError, UploadError | 24 | from error import HookError, UploadError |
25 | from git_command import GitCommand | 25 | from git_command import GitCommand |
26 | from git_refs import R_HEADS | 26 | from git_refs import R_HEADS |
27 | from project import RepoHook | 27 | from hooks import RepoHook |
28 | 28 | ||
29 | from pyversion import is_python3 | 29 | from pyversion import is_python3 |
30 | if not is_python3(): | 30 | if not is_python3(): |