diff options
author | Mike Frysinger <vapier@google.com> | 2021-05-20 01:48:17 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-05-20 06:15:38 +0000 |
commit | b16b9d26bd2d05d704da3e38f3eee743f2b110c6 (patch) | |
tree | fba30d471d916a98592f3170dba8b4138fb28424 /git_superproject.py | |
parent | 993af5e136030ba9822f9a19e338e35ecc9581c7 (diff) | |
download | git-repo-b16b9d26bd2d05d704da3e38f3eee743f2b110c6.tar.gz |
project: fix error display when output_redir is disabledv2.15.2
We always pass in output_redir when syncing, but that's the common case:
there are a few situations (like `repo init`) where we don't pass in a
buffer, and if any errors show up in that case, we'd crash. Rely on the
print function to handle this logic for us.
Bug: https://crbug.com/gerrit/14568
Change-Id: I8cd47e82329797ffc42534418a3dfbd8429205be
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/307222
Reviewed-by: Raman Tenneti <rtenneti@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'git_superproject.py')
0 files changed, 0 insertions, 0 deletions