"David MENTRE" <[EMAIL PROTECTED]> writes: >>>> tag_labels.sort(lambda x,y:cmp(x['var1'],['var1']))
Well, it should be: tag_labels.sort(lambda x,y:cmp(x['var1'],y['var1'])) The second 'y' was missing. Yours, d. -- GPG/PGP key: A3AD7A2A David MENTRE <[EMAIL PROTECTED]> 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A _______________________________________________ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev