aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-31 21:53:20 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-31 21:53:20 +0000
commit29d35fb5b64dd53b2fff0203b6c41befe7bdee2a (patch)
tree59db0702467c3184148f4610eec4a1787a03d87c /pym/portage/news.py
parentValidate categories. (diff)
downloadportage-29d35fb5b64dd53b2fff0203b6c41befe7bdee2a.tar.gz
portage-29d35fb5b64dd53b2fff0203b6c41befe7bdee2a.tar.bz2
portage-29d35fb5b64dd53b2fff0203b6c41befe7bdee2a.zip
Deprecate pordbapi.mysettings since the portdbapi.settings alias is now
supported by stable portage. svn path=/main/trunk/; revision=15306
Diffstat (limited to 'pym/portage/news.py')
-rw-r--r--pym/portage/news.py4
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