summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-31 12:18:49 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-31 12:18:49 -0700
commitb3bbf815e986dc9ac8c24116a6ed1ef912108722 (patch)
treed97792d9defb371b2ef891504cb36748a1af1a44
parenta72fbd46653b979c515fe83a9c22af86870af23e (diff)
downloadportage-b3bbf815e986dc9ac8c24116a6ed1ef912108722.tar.gz
portage-b3bbf815e986dc9ac8c24116a6ed1ef912108722.tar.bz2
portage-b3bbf815e986dc9ac8c24116a6ed1ef912108722.zip
Add comments about consumers of FakeVardbapi.getpath().
-rw-r--r--pym/_emerge/FakeVartree.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py
index 212d5df69..ca84d850b 100644
--- a/pym/_emerge/FakeVartree.py
+++ b/pym/_emerge/FakeVartree.py
@@ -15,6 +15,10 @@ if sys.hexversion >= 0x3000000:
long = int
class FakeVardbapi(PackageVirtualDbapi):
+ """
+ Implements the vardbapi.getpath() method which is used in error handling
+ code for the Package class and vartree.get_provide().
+ """
def getpath(self, cpv, filename=None):
path = os.path.join(self.settings['EROOT'], VDB_PATH, cpv)
if filename is not None: