Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

setup: fix build_qt error related to removal of qtproxyies.escape

It looks broken since PyQt 4.7.7 or 4.7.6, where pyuic4 had some code
clean up.
This patch changes the wrapper to use python standard function.

Changeset f116b1fb3332

Parent b0911ee2b8e3

by Yuya Nishihara

Changes to one file · Browse files at f116b1fb3332 Showing diff from parent b0911ee2b8e3 Diff from another changeset...

Change 1 of 1 Show Entire File setup.py Stacked
 
129
130
131
132
133
134
 
 
135
136
137
 
129
130
131
 
 
 
132
133
134
135
136
@@ -129,9 +129,8 @@
    class _i18n_string(qtproxies.i18n_string):   def __str__(self): - return "_('%s')" % (qtproxies.escape(self.string),) - if hasattr(qtproxies, "escape"): - qtproxies.i18n_string = _i18n_string + return "_('%s')" % self.string.encode('string-escape') + qtproxies.i18n_string = _i18n_string     cls._wrappeduic = True