Fix gclient_utils.FileRead() behavior for both 2 and 3.
We always want gclient_utils.FileRead() to return a text string these days, but the existing code didn't work right for Python2 if you called it explicitly with mode='r'. R=ehmaldonado@chromium.org Bug: 1210746 Change-Id: If540746f31308b671f9101334b5cd9848a7e9257 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2930626 Reviewed-by: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Josip Sokcevic <sokcevic@google.com>changes/26/2930626/4
parent
a0b0f12874
commit
8b3bc259a0
Loading…
Reference in New Issue