From: Paul Varner Date: Wed, 11 Apr 2012 15:00:56 +0000 (-0500) Subject: Fix eshowkw traceback on prefix enviroments (Bug 411599). X-Git-Tag: gentoolkit-0.3.0.6~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f84d917af5da15f832d8d246cfbbac848a0a047;p=gentoolkit.git Fix eshowkw traceback on prefix enviroments (Bug 411599). --- 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)