##// END OF EJS Templates
py3: cast error message to localstr in blackbox.py...
Gregory Szorc -
r35685:de598e84 default
parent child Browse files
Show More
@@ -44,6 +44,7 b' from mercurial.i18n import _'
44 44 from mercurial.node import hex
45 45
46 46 from mercurial import (
47 encoding,
47 48 registrar,
48 49 ui as uimod,
49 50 util,
@@ -182,7 +183,7 b' def wrapui(ui):'
182 183 fp.write(fmt % args)
183 184 except (IOError, OSError) as err:
184 185 self.debug('warning: cannot write to blackbox.log: %s\n' %
185 err.strerror)
186 encoding.strtolocal(err.strerror))
186 187 # do not restore _bbinlog intentionally to avoid failed
187 188 # logging again
188 189 else:
General Comments 0
You need to be logged in to leave comments. Login now