From 2f84d917af5da15f832d8d246cfbbac848a0a047 Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Wed, 11 Apr 2012 10:00:56 -0500 Subject: [PATCH] Fix eshowkw traceback on prefix enviroments (Bug 411599). --- pym/gentoolkit/eshowkw/keywords_content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/eshowkw/keywords_content.py index 99d652e..3e2551d 100644 --- a/pym/gentoolkit/eshowkw/keywords_content.py +++ b/pym/gentoolkit/eshowkw/keywords_content.py @@ -154,7 +154,7 @@ class keywords_content: def __init__(self, packages): """Query all relevant data for version data formatting""" - self.vartree = port.db[port.settings['ROOT']]['vartree'].dbapi + self.vartree = port.db[port.root]['vartree'].dbapi self.mysettings = port.config(local_config=False) self.versions = self.__getVersions(packages) self.masks = map(lambda x: self.__getMaskStatus(x), packages) -- 2.26.2