summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-09 21:51:31 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-09 21:51:31 +0000
commitedab8bea2083fdbbfa285b9b82623f37e9f6c46e (patch)
tree0005a63791d163cd268cf9dee311b3de66af041f
parent885e7808eddb830e22d5d72df9137e7395ae1880 (diff)
downloadportage-edab8bea2083fdbbfa285b9b82623f37e9f6c46e.tar.gz
portage-edab8bea2083fdbbfa285b9b82623f37e9f6c46e.tar.bz2
portage-edab8bea2083fdbbfa285b9b82623f37e9f6c46e.zip
Add some docs for the DepcheckCompositeDB class.
svn path=/main/trunk/; revision=9785
-rw-r--r--pym/_emerge/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 5d89a4c09..291df19fd 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -1412,6 +1412,13 @@ def show_invalid_depstring_notice(parent_node, depstring, error_msg):
f.end_paragraph(1)
class DepcheckCompositeDB(object):
+ """
+ A dbapi-like interface that is optimized for use in dep_check() calls.
+ This is built on top of the existing depgraph package selection logic.
+ Some packages that have been added to the graph may be masked from this
+ view in order to control the atom preference selection that occurs via
+ dep_check().
+ """
def __init__(self, depgraph, root):
self._depgraph = depgraph
self._root = root