summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d09524dfe..bec7aa1b4 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.dbapi._eroot, VDB_PATH, mycpv)
+ mydir = self.dbapi.getpath(mycpv)
writemsg(_("\nParse Error reading PROVIDE and USE in '%s'\n") % mydir,
noiselevel=-1)
if mylines: