Handle corner case where no commit logs are fetched.
This could happen if user specifies "accepted_statuses=['404']", and the current behaviour raises a KeyError exception from "last_result['log']". Change-Id: Icebb8ac3b656548892bbf729e5df0cd5e5223ada Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6352740 Auto-Submit: Keybo Qian <keybo@google.com> Reviewed-by: Scott Lee <ddoman@chromium.org> Commit-Queue: Keybo Qian <keybo@google.com> Reviewed-by: Yiwei Zhang <yiwzhang@google.com>changes/40/6352740/4
parent
454f6ce8e2
commit
c3129d4f4f
Loading…
Reference in New Issue