Return to ECHO_helpers.py CVS log | Up to [Repository] / ECHO_content |
version 1.88, 2008/08/21 07:44:56 | version 1.89, 2008/08/21 07:58:21 |
---|---|
Line 633 def getSubCols(self, sortfield=None, | Line 633 def getSubCols(self, sortfield=None, |
return cmp(x[0],y[0]) | return cmp(x[0],y[0]) |
else: | else: |
if type(x[0])==types.StringType: | if type(x[0])==types.StringType: |
tmpX=unicode(x[0]) | tmpX=unicodify(x[0]) |
tmpY=y[0] | tmpY=y[0] |
else: | else: |
tmpY=unicode(y[0]) | tmpY=unicodify(y[0]) |
tmpX=x[0] | tmpX=x[0] |
return cmp(tmpX,tmpY) | return cmp(tmpX,tmpY) |