mercurial/ui.py
changeset 30348 9df29b7c62cf
parent 30332 318a24b52eeb
child 30473 39d13b8c101d
--- a/mercurial/ui.py	Wed Nov 09 16:04:44 2016 -0800
+++ b/mercurial/ui.py	Sun Oct 09 09:17:49 2016 -0400
@@ -176,7 +176,7 @@
     def readconfig(self, filename, root=None, trust=False,
                    sections=None, remap=None):
         try:
-            fp = open(filename)
+            fp = open(filename, u'rb')
         except IOError:
             if not sections: # ignore unless we were looking for something
                 return