mercurial/ui.py
changeset 38767 eb2945f0a4a1
parent 38762 fe3ca1e6f786
child 38768 afc4ad706f9c
--- a/mercurial/ui.py	Wed Aug 01 10:23:57 2018 -0400
+++ b/mercurial/ui.py	Thu Jul 19 15:21:28 2018 -0400
@@ -392,7 +392,7 @@
     def readconfig(self, filename, root=None, trust=False,
                    sections=None, remap=None):
         try:
-            fp = open(filename, u'rb')
+            fp = open(filename, r'rb')
         except IOError:
             if not sections: # ignore unless we were looking for something
                 return