setup_color: Disable colorama on pre-Windows-10
This change disables colorama wrapping on versions of Windows prior to 10. Currently, this wrapping causes "TypeError: cannot use a string pattern on a bytes-like object" on Windows 7 and 8.1 when running `gclient sync`, `gclient fetch`, and other utilities that use colorama. Bug: 1114548 Change-Id: Id6b4a6f9a8ae0721765da34b5625b4524b9d36b1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2485882Reviewed-by:Josip Sokcevic <sokcevic@google.com> Commit-Queue: Jesse McKenna <jessemckenna@google.com>
Showing
Please
register
or
sign in
to comment