From 0de4fc3001b36db7e107e61586296ca25bbf6d6d Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Thu, 21 Apr 2022 17:18:35 +0000 Subject: [PATCH] project: Add missing imports Some imports were missed when moving manifestProject to project.py Bug: https://bugs.chromium.org/p/gerrit/issues/detail?id=15861 Change-Id: Id8fffeaa3f88f344a13b5ab44e5403c7edd98f31 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/335554 Tested-by: LaMont Jones Reviewed-by: Mike Frysinger Reviewed-by: Raman Tenneti --- project.py | 1 + subcmds/init.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/project.py b/project.py index aeb092ca..ad296de2 100644 --- a/project.py +++ b/project.py @@ -29,6 +29,7 @@ import time import urllib.parse from color import Coloring +import fetch from git_command import GitCommand, git_require from git_config import GitConfig, IsId, GetSchemeFromUrl, GetUrlCookieFile, \ ID_RE diff --git a/subcmds/init.py b/subcmds/init.py index 0388f5d1..6e3951c9 100644 --- a/subcmds/init.py +++ b/subcmds/init.py @@ -24,8 +24,6 @@ from error import ManifestParseError from project import SyncBuffer from git_config import GitConfig from git_command import git_require, MIN_GIT_VERSION_SOFT, MIN_GIT_VERSION_HARD -import fetch -import platform_utils from wrapper import Wrapper