projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b28e9
)
Use self.dbapi.getpath() to simplify code in vartree.get_provide().
author
Zac Medico
<zmedico@gentoo.org>
Tue, 31 Aug 2010 19:13:45 +0000
(12:13 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 31 Aug 2010 19:13:45 +0000
(12:13 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index d09524dfe802fedafe3ad17baa9dcde069104345..bec7aa1b4f7b74bb8c4bd36df79dcb904addbb7a 100644
(file)
--- 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: