From 2d5461ae038d0a73130c7e8dc1b23c6df1a5d583 Mon Sep 17 00:00:00 2001 From: Allen Li Date: Tue, 21 Jan 2025 14:48:52 -0800 Subject: [PATCH] [auth] Clarify what account to use There's some confusion on what account to use to login. Add the context for Gerrit to hopefully make it a bit easier to decide. Bug: b/342261857 Change-Id: Ie59b156c2a91f8168bcd2f381f85fb8157040d80 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6178581 Reviewed-by: Josip Sokcevic Commit-Queue: Allen Li --- auth.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/auth.py b/auth.py index f7bea06f0..7ba37525e 100644 --- a/auth.py +++ b/auth.py @@ -68,8 +68,9 @@ class GitLoginRequiredError(Exception): """ def __init__(self): - msg = ('You are not logged in. Please login first by running:\n' - ' %s' % self.login_command) + msg = ( + 'You are not logged in to Gerrit. Please login first by running:\n' + ' %s' % self.login_command) super(GitLoginRequiredError, self).__init__(msg) @property