mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-06-22 03:41:46 +08:00

If a file (e.g. ~/.gitconfig) does not exist, we get None here rather than a string. NoneType lacks rstrip() so we cannot strip it. Signed-off-by: Shawn O. Pearce <sop@google.com>