summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/show_invalid_depstring_notice.py
diff options
context:
space:
mode:
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 ")