Break a recursive loop.
authorZac Medico <zmedico@gentoo.org>
Sat, 10 Feb 2007 21:47:02 +0000 (21:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 10 Feb 2007 21:47:02 +0000 (21:47 -0000)
svn path=/main/trunk/; revision=5946

pym/portage/dbapi/vartree.py

index b28bb8e86ebf762478790bfa41c14bdaf2250a35..3e862079e84b34f6aafa0028eaabd40e24ab7d75 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 = self.getpath(mykey)
+               rValue = os.path.join(self.root, mykey)
                if filename != None:
                        rValue = os.path.join(rValue, filename)
                return rValue