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

stable manifestmodel: handle incompatibility (sip-4.12.2 and Python <2.5.3)

The symptom was:
TypeError: 'sip.methoddescriptor' object is not callable on
return self.__rootentry

See:
http://www.riverbankcomputing.com/pipermail/pyqt/2011-February/029217.html
http://bugs.python.org/issue4230

Changeset e9548d34d160

Parent 005719e2552f

by André Sintzoff

Changes to one file · Browse files at e9548d34d160 Showing diff from parent 005719e2552f Diff from another changeset...

 
172
173
174
175
 
176
177
178
 
172
173
174
 
175
176
177
178
@@ -172,7 +172,7 @@
  def _rootentry(self):   try:   return self.__rootentry - except AttributeError: + except (AttributeError, TypeError):   self._buildrootentry()   return self.__rootentry