summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/gentoolkit/eshowkw/keywords_header.py')
-rw-r--r--pym/gentoolkit/eshowkw/keywords_header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/eshowkw/keywords_header.py b/pym/gentoolkit/eshowkw/keywords_header.py
index 1b9af0d..9c6538c 100644
--- a/pym/gentoolkit/eshowkw/keywords_header.py
+++ b/pym/gentoolkit/eshowkw/keywords_header.py
@@ -28,7 +28,7 @@ def load_profile_data(portdir=None, repo='gentoo'):
{'x86': 'stable', 'mips': 'dev', ...}
"""
if portdir is None:
- portdir = portage.db['/']['vartree'].settings.repositories[repo].location
+ portdir = portage.db[portage.root]['vartree'].settings.repositories[repo].location
arch_status = {}