Add missing VDB_PATH to fix vardbapi.aux_get() breakage.
authorZac Medico <zmedico@gentoo.org>
Sat, 10 Feb 2007 22:04:41 +0000 (22:04 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 10 Feb 2007 22:04:41 +0000 (22:04 -0000)
svn path=/main/trunk/; revision=5949

pym/portage/dbapi/vartree.py

index ede2d143330866d2ebdad9120b4ec512d627b641..a5b0eb8bb5acb2b15a13019d9388d1d267bc21dd 100644 (file)
@@ -51,7 +51,7 @@ class vardbapi(dbapi):
                        CACHE_PATH.lstrip(os.path.sep), "vdb_metadata.pickle")
 
        def getpath(self, mykey, filename=None):
-               rValue = os.path.join(self.root, mykey)
+               rValue = os.path.join(self.root, VDB_PATH, mykey)
                if filename != None:
                        rValue = os.path.join(rValue, filename)
                return rValue