From 16c1328fecdbd950bb4f2c24f9c49a8ed0992c50 Mon Sep 17 00:00:00 2001 From: Remy Bohmer Date: Thu, 10 Sep 2020 10:38:04 +0200 Subject: 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 Change-Id: Ida9d99d31751d627ae1ea0373418080696d2e14b Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/281293 Reviewed-by: Mike Frysinger Tested-by: Remy Bohmer --- subcmds/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subcmds/upload.py') 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 from error import HookError, UploadError from git_command import GitCommand from git_refs import R_HEADS -from project import RepoHook +from hooks import RepoHook from pyversion import is_python3 if not is_python3(): -- cgit v1.2.3-54-g00ecf