diff options
Diffstat (limited to 'pym/portage/news.py')
-rw-r--r-- | pym/portage/news.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/news.py b/pym/portage/news.py index c178a8c48..a1ce42246 100644 --- a/pym/portage/news.py +++ b/pym/portage/news.py @@ -59,9 +59,9 @@ class NewsManager(object): portdir = portdb.porttree_root profiles_base = os.path.join(portdir, 'profiles') + os.path.sep profile_path = None - if portdb.mysettings.profile_path: + if portdb.settings.profile_path: profile_path = normalize_path( - os.path.realpath(portdb.mysettings.profile_path)) + os.path.realpath(portdb.settings.profile_path)) if profile_path.startswith(profiles_base): profile_path = profile_path[len(profiles_base):] self._profile_path = profile_path |