changeset 4066 | 0555f170c4d1 |
parent 4045 | f4a52abb6f4f |
child 4151 | 66fe38345a65 |
--- a/schema.py Tue Dec 08 19:25:52 2009 +0100 +++ b/schema.py Wed Dec 09 09:52:28 2009 +0100 @@ -726,7 +726,7 @@ def __cmp__(self, other): if hasattr(other, 'expression'): return cmp(other.expression, self.expression) - return False + return -1 def __deepcopy__(self, memo): return self.__class__(self.expression, self.mainvars)