comparison mercurial/discovery.py @ 36052:af9cb761b5f3

py3: replace file() with open() in test-encoding-align.t file() is not present in Python 3. This patch also makes sure we write bytes in Python 3. Differential Revision: https://phab.mercurial-scm.org/D2131
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 11 Feb 2018 17:15:45 +0530
parents 6c1d3779c052
children 613954a17a25
comparison
equal deleted inserted replaced
36051:035af48b2903 36052:af9cb761b5f3