Skip to content

Commit 2ffae0b

Browse files
authored
Gtid: remove __cmp__ due to python2 support dropped. (#394)
1 parent ef52618 commit 2ffae0b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pymysqlreplication/gtid.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ def decode(cls, payload):
281281
else '%d' % x
282282
for x in intervals])))
283283

284-
def __cmp__(self, other):
285-
if other.sid != self.sid:
286-
return cmp(self.sid, other.sid)
287-
return cmp(self.intervals, other.intervals)
288-
289284
def __eq__(self, other):
290285
if other.sid != self.sid:
291286
return False

0 commit comments

Comments
 (0)