summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-12-24 06:20:27 +0000
committerAlec Warner <antarus@gentoo.org>2006-12-24 06:20:27 +0000
commitfaa349e4a0c8635dae52b7f81772548dfe7c030c (patch)
tree4da66d93d900a80e39112f1988f728f772e9c618 /pym
parent616753ead296dcb9113f80ca5406c3ecfdc4ff7d (diff)
downloadportage-faa349e4a0c8635dae52b7f81772548dfe7c030c.tar.gz
portage-faa349e4a0c8635dae52b7f81772548dfe7c030c.tar.bz2
portage-faa349e4a0c8635dae52b7f81772548dfe7c030c.zip
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
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py11
1 files changed, 0 insertions, 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[:]