From faa349e4a0c8635dae52b7f81772548dfe7c030c Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sun, 24 Dec 2006 06:20:27 +0000 Subject: [PATCH] cptot appears to be unused, punting it along with this commented out function, it appears to be unused as well. svn path=/main/trunk/; revision=5372 --- pym/portage.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 6a5a70816..243a5c79c 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4585,16 +4585,6 @@ class fakedbapi(dbapi): if not mycpv in self.cpdict[mycp]: self.cpdict[mycp].append(mycpv) - #def cpv_virtual(self,oldcpv,newcpv): - # """Maps a cpv to the list of available packages.""" - # mycp=cpv_getkey(newcpv) - # self.cpvdict[newcpv]=1 - # if not self.virtdict.has_key(mycp): - # self.virtdict[mycp]=[] - # if not mycpv in self.virtdict[mycp]: - # self.virtdict[mycp].append(oldcpv) - # cpv_remove(oldcpv) - def cpv_remove(self,mycpv): """Removes a cpv from the list of available packages.""" self._clear_cache() @@ -4682,7 +4672,6 @@ class bindbapi(fakedbapi): self.bintree.populate() return fakedbapi.cpv_all(self) -cptot=0 class vardbapi(dbapi): def __init__(self, root, categories=None, settings=None, vartree=None): self.root = root[:] -- 2.26.2