summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-06 19:20:36 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-06 19:20:36 +0000
commitb2c3cd5eea1ee763d40401e34fa45a12914defea (patch)
treef0bae191c07d977f79cb99d5d10cb24c441f4d47
parentb8a9917457b6f81108689b674f5f7a7f22e49ca7 (diff)
downloadportage-b2c3cd5eea1ee763d40401e34fa45a12914defea.tar.gz
portage-b2c3cd5eea1ee763d40401e34fa45a12914defea.tar.bz2
portage-b2c3cd5eea1ee763d40401e34fa45a12914defea.zip
Rename the CompositDbapi class to DepcheckCompositeDB since it's really
a special pupose class just for dep_check() and it doesn't implement the full dbapi interface. svn path=/main/trunk/; revision=9731
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 53f09e8d0..497b1acf3 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -1426,7 +1426,7 @@ def show_invalid_depstring_notice(parent_node, depstring, error_msg):
f.add_flowing_data(x)
f.end_paragraph(1)
-class CompositeDbapi(object):
+class DepcheckCompositeDB(object):
def __init__(self, depgraph, root):
self._depgraph = depgraph
self._root = root
@@ -1548,7 +1548,7 @@ class depgraph(object):
self._filtered_trees[myroot]["vartree"] = self.trees[myroot]["vartree"]
def filtered_tree():
pass
- filtered_tree.dbapi = CompositeDbapi(self, myroot)
+ filtered_tree.dbapi = DepcheckCompositeDB(self, myroot)
self._filtered_trees[myroot]["porttree"] = filtered_tree
dbs = []
portdb = self.trees[myroot]["porttree"].dbapi