From: Zac Medico Date: Fri, 12 Dec 2008 21:39:52 +0000 (-0000) Subject: Remove ManifestEntry.__cmp__() since it's not needed and py3k won't use it. X-Git-Tag: v2.1.6.1~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0f8c48f5f8d1e0ba981bf47aee901ce18ff1183c;p=portage.git Remove ManifestEntry.__cmp__() since it's not needed and py3k won't use it. (trunk r12200) svn path=/main/branches/2.1.6/; revision=12233 --- diff --git a/pym/portage/manifest.py b/pym/portage/manifest.py index 50ed2f52f..384da250a 100644 --- a/pym/portage/manifest.py +++ b/pym/portage/manifest.py @@ -55,10 +55,6 @@ class ManifestEntry(object): def __init__(self, **kwargs): for k, v in kwargs.iteritems(): setattr(self, k, v) - def __cmp__(self, other): - if str(self) == str(other): - return 0 - return 1 class Manifest2Entry(ManifestEntry): def __str__(self):