-
John Emau authored
This fixes an issue on Windows where running `gclient setdep` would convert the DEPS file from LF to CRLF line endings. From the python 2.7 docs: " On Windows, 'b' appended to the mode opens the file in binary mode, so there are also modes like 'rb', 'wb', and 'r+b'. Python on Windows makes a distinction between text and binary files; the end-of-line characters in text files are automatically altered slightly when data is read or written. " - https://docs.python.org/2.7/tutorial/inputoutput.html#reading-and-writing-files Change-Id: I94183918789a8cdd4aa655db4b3dadfaae23d13a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2067477Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: John Emau <John.Emau@microsoft.com>
7aa68240