[yum-commits] Branch 'yum-3_2_X' - yum/yumRepo.py
Tim Lauridsen
timlau at osuosl.org
Mon Mar 30 13:13:45 UTC 2009
yum/yumRepo.py | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 534ec0c8dfcc4605d8e6250bcf173479906238aa
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Mon Mar 30 15:13:36 2009 +0200
pylint: remove duplicate __cmp__ method
diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index cb6c553..71741db 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -344,15 +344,6 @@ class YumRepository(Repository, config.RepoConf):
thisdata = self.repoXML.getData('group')
return thisdata.location
-
- def __cmp__(self, other):
- if self.id > other.id:
- return 1
- elif self.id < other.id:
- return -1
- else:
- return 0
-
def __str__(self):
return self.id
More information about the Yum-commits
mailing list