Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/carbon/common/script/sys/row.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __eq__(self, other):

def __cmp__(self, other):
if not isinstance(other, Row):
raise TypeError("Incompatible comparison type")
return False
return cmp(self.header, other.header) or cmp(self.line, other.line)

def __str__(self):
Expand Down