diff mercurial/similar.py @ 36030:b85b0bbed6de

py3: replace file() with open() in test-eol.t file() is not present in Python 3. This patch also adds a b'' prefix to make sure we write bytes in Python 3. Differential Revision: https://phab.mercurial-scm.org/D2129
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 11 Feb 2018 17:14:00 +0530
parents ded48ad55146
children cd196be26cb7
line wrap: on
line diff