Remove ManifestEntry.__cmp__() since it's not needed and py3k won't use it.
authorZac Medico <zmedico@gentoo.org>
Wed, 10 Dec 2008 17:52:31 +0000 (17:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 10 Dec 2008 17:52:31 +0000 (17:52 -0000)
svn path=/main/trunk/; revision=12200

pym/portage/manifest.py

index 50ed2f52fd07f1d30aa7bf0cf24e61f2b9e895b4..384da250a13ee9239fce83a3c35b4c0825eb8dbc 100644 (file)
@@ -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):