[TransWarp] typo in model/element.py
Phillip J. Eby
pje at telecommunity.com
Tue Apr 1 14:50:38 EST 2003
I could've sworn I had a unit test for that. :( Actually, as it turns
out, the unit test effectively only checks whether feature comparisons
work, since that's a far more likely place for something to break than the
Python '.sort()' method... unless of course you mistype it. :)
At 09:27 PM 4/1/03 +0200, Ulrich Eck wrote:
>again while reading the sources i found a typo
>in model/element.py:
>
>
> def mdl_sortedFeatures(self,d,a):
>
> """All feature objects of this type, in sorted order"""
>
> fl = list(self.mdl_features)
> fl.sort
> return tuple(fl)
>
> mdl_sortedFeatures = binding.Once(mdl_sortedFeatures)
>
>the fl.sort should probably read:
>
>fl.sort()
More information about the PEAK
mailing list