From 0f8c48f5f8d1e0ba981bf47aee901ce18ff1183c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 12 Dec 2008 21:39:52 +0000 Subject: 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 --- pym/portage/manifest.py | 4 ---- 1 file changed, 4 deletions(-) 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): -- cgit v1.2.3-1-g7c22