changeset 39056:c52a8af4052a

contrib: have check-code look at files in latin1 instead of ascii This way all files open. So far none of our patterns look like they'll care. Differential Revision: https://phab.mercurial-scm.org/D4249
author Augie Fackler <augie@google.com>
date Fri, 10 Aug 2018 02:17:50 -0400
parents dcecf772756a
children 850fe0b9c0c0
files contrib/check-code.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/check-code.py	Fri Aug 10 00:37:24 2018 -0400
+++ b/contrib/check-code.py	Fri Aug 10 02:17:50 2018 -0400
@@ -30,7 +30,7 @@
     opentext = open
 else:
     def opentext(f):
-        return open(f, encoding='ascii')
+        return open(f, encoding='latin1')
 try:
     xrange
 except NameError: