summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-31 12:08:27 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-31 12:08:27 -0700
commita4b28e981839e14b1bca4c916ed7488aa28ff961 (patch)
treeb32969fe7f31f48731c601de418c623496b9c220
parent75dab994c4a3e7c38ea29cc633706c435991da05 (diff)
downloadportage-a4b28e981839e14b1bca4c916ed7488aa28ff961.tar.gz
portage-a4b28e981839e14b1bca4c916ed7488aa28ff961.tar.bz2
portage-a4b28e981839e14b1bca4c916ed7488aa28ff961.zip
Bug #335439 - Fix "AttributeError: 'vartree' object has no attribute
'_eroot'" in vartree.get_provide().
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
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: