summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-09-05 10:44:58 +0000
committerFabian Groffen <grobian@gentoo.org>2009-09-05 10:44:58 +0000
commit75ff191248e8b9ecac0374c9b344672d92b25ec5 (patch)
treed19752a78cb8ad541924c5a3ace4a2d487934a44 /pym
parentfc9bcfc6c37b4844413dd91ad907c7cae07490e6 (diff)
downloadportage-75ff191248e8b9ecac0374c9b344672d92b25ec5.tar.gz
portage-75ff191248e8b9ecac0374c9b344672d92b25ec5.tar.bz2
portage-75ff191248e8b9ecac0374c9b344672d92b25ec5.zip
DEPRECATED_PROFILE_FILE is derived from PROFILE_PATH which has no leading slash
svn path=/main/trunk/; revision=14191
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 4b79d6802..dfb9c0fef 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -8471,7 +8471,7 @@ def deprecated_profile_check(settings=None):
if settings is not None:
config_root = settings["PORTAGE_CONFIGROOT"]
deprecated_profile_file = os.path.join(config_root,
- DEPRECATED_PROFILE_FILE.lstrip(os.sep))
+ DEPRECATED_PROFILE_FILE)
if not os.access(deprecated_profile_file, os.R_OK):
return False
dcontent = codecs.open(_unicode_encode(deprecated_profile_file,