summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/show_invalid_depstring_notice.py
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2010-09-04 19:57:34 +0200
committerFabian Groffen <grobian@gentoo.org>2010-09-04 19:57:34 +0200
commit0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa (patch)
treedce3ef8f9a71c4b9d82320e6c0ca62a3349fb16c /pym/_emerge/show_invalid_depstring_notice.py
parente3c7244706e2efdae7adfa9816348c3bb74c319f (diff)
downloadportage-0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa.tar.gz
portage-0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa.tar.bz2
portage-0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa.zip
use EROOT with VDB_PATH
Diffstat (limited to 'pym/_emerge/show_invalid_depstring_notice.py')
-rw-r--r--pym/_emerge/show_invalid_depstring_notice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/show_invalid_depstring_notice.py b/pym/_emerge/show_invalid_depstring_notice.py
index 21f710839..284c4e5f8 100644
--- a/pym/_emerge/show_invalid_depstring_notice.py
+++ b/pym/_emerge/show_invalid_depstring_notice.py
@@ -11,11 +11,11 @@ def show_invalid_depstring_notice(parent_node, depstring, error_msg):
msg1 = "\n\n!!! Invalid or corrupt dependency specification: " + \
"\n\n%s\n\n%s\n\n" % (error_msg, parent_node)
- p_type, p_root, p_key, p_status = parent_node
+ p_type, _, p_key, p_status = parent_node
msg = []
if p_status == "nomerge":
category, pf = portage.catsplit(p_key)
- pkg_location = os.path.join(p_root, portage.VDB_PATH, category, pf)
+ pkg_location = os.path.join(parent_node.root_config.settings['EROOT'], portage.VDB_PATH, category, pf)
msg.append("Portage is unable to process the dependencies of the ")
msg.append("'%s' package. " % p_key)
msg.append("In order to correct this problem, the package ")