##// END OF EJS Templates
ui: fix implicit unicode-to-bytes conversion introduced in 9df29b7c62cf...
Augie Fackler -
r38790:eb2945f0 default
parent child Browse files
Show More
@@ -392,7 +392,7 b' class ui(object):'
392 def readconfig(self, filename, root=None, trust=False,
392 def readconfig(self, filename, root=None, trust=False,
393 sections=None, remap=None):
393 sections=None, remap=None):
394 try:
394 try:
395 fp = open(filename, u'rb')
395 fp = open(filename, r'rb')
396 except IOError:
396 except IOError:
397 if not sections: # ignore unless we were looking for something
397 if not sections: # ignore unless we were looking for something
398 return
398 return
General Comments 0
You need to be logged in to leave comments. Login now