From 06673958a399758b95be5eeae3af2828e8d1a82d Mon Sep 17 00:00:00 2001 From: Allen Li Date: Thu, 20 Jun 2024 23:50:31 +0000 Subject: [PATCH] [git_cl] Fix comment about GetCodereviewServer Previous comment was... lacking. Actually, wrong. It's doing the exact opposite of lazy loading. Maybe they were trying to use AI code gen before it existed? Bug: b/348024314 Change-Id: I068d43fe1abf757cb8b109890a14ca0cefe3fec0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5641090 Commit-Queue: Allen Li Reviewed-by: Yiwei Zhang --- git_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index 2831c7f1e..647c78fe3 100755 --- a/git_cl.py +++ b/git_cl.py @@ -2202,7 +2202,7 @@ class Changelist(object): raise def GetGerritHost(self): - # Lazy load of configs. + # Populate self._gerrit_host self.GetCodereviewServer() if self._gerrit_host and '.' not in self._gerrit_host: