Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0, 2.0.1, and 2.0.2

stable about: remove unneeded fromunicode()

It causes UnicodeDecodeError if the message is translated.

Changeset 87815de39183

Parent 624b2d3ff078

by Yuya Nishihara

Changes to one file · Browse files at 87815de39183 Showing diff from parent 624b2d3ff078 Diff from another changeset...

 
110
111
112
113
114
115
116
117
118
119
120
121
122
123
 
110
111
112
 
 
113
114
115
116
117
 
118
119
120
@@ -110,14 +110,11 @@
  libv = (_('with Mercurial-%s, Python-%s, PyQt-%s, Qt-%s') % \   (hglib.hgversion, make_version(sys.version_info[0:3]),   PYQT_VERSION_STR, QT_VERSION_STR)) - thgv = hglib.fromunicode(thgv) - libv = hglib.fromunicode(libv)   par = ('<p style=\" margin-top:0px; margin-bottom:6px;\">'   '<span style=\"font-size:%spt; font-weight:600;\">'   '%s</span></p>')   name = (par % (14, 'TortoiseHg'))   thgv = (par % (10, thgv)) - thgv = hglib.fromunicode(thgv)   nvl = ''.join([name, thgv, libv])   self.name_version_libs_lbl.setText(nvl)