Permalink
Browse files

Remove duplicate __cmp__ method.

  • Loading branch information...
1 parent 91dc822 commit b0b8d2f2256aec90b342857951db3ad0eeab893c @GraylinKim committed Mar 15, 2013
Showing with 0 additions and 12 deletions.
  1. +0 −12 sc2reader/data/__init__.py
View
@@ -289,18 +289,6 @@ def __hash__(self):
def __repr__(self):
return str(self)
- def __cmp__(self, other):
- if other.id > self.id:
- return -1
- elif other.id < self.id:
- return 1
- else:
- if other.type > self.type:
- return -1
- elif other.type < self.type:
- return 1
- else:
- return 0
class Ability(object):
pass

0 comments on commit b0b8d2f

Please sign in to comment.