mercurial/ui.py
changeset 30348 9df29b7c62cf
parent 30332 318a24b52eeb
child 30473 39d13b8c101d
equal deleted inserted replaced
30347:494d5cec0b07 30348:9df29b7c62cf
   174         return False
   174         return False
   175 
   175 
   176     def readconfig(self, filename, root=None, trust=False,
   176     def readconfig(self, filename, root=None, trust=False,
   177                    sections=None, remap=None):
   177                    sections=None, remap=None):
   178         try:
   178         try:
   179             fp = open(filename)
   179             fp = open(filename, u'rb')
   180         except IOError:
   180         except IOError:
   181             if not sections: # ignore unless we were looking for something
   181             if not sections: # ignore unless we were looking for something
   182                 return
   182                 return
   183             raise
   183             raise
   184 
   184