Remove ManifestEntry.__cmp__() since it's not needed and py3k won't use it.
authorZac Medico <zmedico@gentoo.org>
Fri, 12 Dec 2008 21:39:52 +0000 (21:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 12 Dec 2008 21:39:52 +0000 (21:39 -0000)
(trunk r12200)

svn path=/main/branches/2.1.6/; revision=12233

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):