##// END OF EJS Templates
py3: fix exception message encoding in scmutil.py's simplekeyvaluefile.read...
Emmanuel Leblond -
r43682:899e55e2 stable
parent child Browse files
Show More
@@ -1854,7 +1854,7 class simplekeyvaluefile(object):
1854 raise error.CorruptedState(e % self.firstlinekey)
1854 raise error.CorruptedState(e % self.firstlinekey)
1855 d.update(updatedict)
1855 d.update(updatedict)
1856 except ValueError as e:
1856 except ValueError as e:
1857 raise error.CorruptedState(str(e))
1857 raise error.CorruptedState(stringutil.forcebytestr(e))
1858 return d
1858 return d
1859
1859
1860 def write(self, data, firstline=None):
1860 def write(self, data, firstline=None):
General Comments 0
You need to be logged in to leave comments. Login now