commit - 842f3e21dc7d86e330729e04f758d990afd0cfae
commit + 2e30f2846c31d0bcd48b9bbfa5158f0f943eabfd
blob - 5c1eb3a6880bb91cdb18a512cfde52b02b1e1990
blob + 90f7de22615ee11b67adfd203f46044e4367e7a7
--- dulwich/objects.py
+++ dulwich/objects.py
if not isinstance(other, ShaFile):
raise TypeError
return self.id <= other.id
-
- def __cmp__(self, other):
- """Compare the SHA of this object with that of the other object."""
- if not isinstance(other, ShaFile):
- raise TypeError
- return cmp(self.id, other.id) # noqa: F821
class Blob(ShaFile):