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

setup: disable escaping if qtproxies does not have the feature

Works around packaging issues with PyQt-4.7.x. This probably
needs a better permanent fix.

Changeset b0911ee2b8e3

Parent 505bf2504ac9

by Steve Borho

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

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