diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-07-02 21:21:37 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-07-02 21:23:21 -0700 |
commit | a1262c6ff59120b4fd089275006148accfa078de (patch) | |
tree | cf1205fc38caac82141a62298a23088c46e0eaab | |
parent | eclean: optimize binpkg-multi-instance support from bug 586658 (diff) | |
download | gentoolkit-a1262c6ff59120b4fd089275006148accfa078de.tar.gz gentoolkit-a1262c6ff59120b4fd089275006148accfa078de.tar.bz2 gentoolkit-a1262c6ff59120b4fd089275006148accfa078de.zip |
eshowkw: use portage.root for prefix support
-rw-r--r-- | pym/gentoolkit/eshowkw/keywords_header.py | 2 |
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 = {} |