Make landmines.py Python 3-compatible
universal_newlines=True makes communicate() return a string instead of bytes. This is necessary to match the type of the return value of readlines() in clobber_if_necessary so that we don't think the lines are different when they are actually the same. R=thakis@chromium.org Bug: 941669 Change-Id: Ideb56385cdf5c3036e6858922fa3a7275e3b1be9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1744689 Auto-Submit: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#685317}
Showing
Please register or sign in to comment