1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 43c0db9

settings: show non-ascii exception message correctly

  • Participants
  • Parent commits d8c03ad
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/settings.py

View file
  • Ignore whitespace
             wconfig.writefile(self.ini, self.fn)
         except EnvironmentError, e:
             qtlib.WarningMsgBox(_('Unable to write configuration file'),
-                                str(e), parent=self)
+                                hglib.tounicode(str(e)), parent=self)
 
     def applyChangesForExtensions(self):
         emitChanged = False