From: Zac Medico Date: Tue, 31 Aug 2010 19:08:27 +0000 (-0700) Subject: Bug #335439 - Fix "AttributeError: 'vartree' object has no attribute X-Git-Tag: v2.2_rc73~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4b28e981839e14b1bca4c916ed7488aa28ff961;p=portage.git Bug #335439 - Fix "AttributeError: 'vartree' object has no attribute '_eroot'" in vartree.get_provide(). --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 52f8d833c..d09524dfe 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1100,7 +1100,7 @@ class vartree(object): except SystemExit as e: raise except Exception as e: - mydir = os.path.join(self._eroot, VDB_PATH, mycpv) + mydir = os.path.join(self.dbapi._eroot, VDB_PATH, mycpv) writemsg(_("\nParse Error reading PROVIDE and USE in '%s'\n") % mydir, noiselevel=-1) if mylines: