DEPRECATED_PROFILE_FILE is derived from PROFILE_PATH which has no leading slash
authorFabian Groffen <grobian@gentoo.org>
Sat, 5 Sep 2009 10:44:58 +0000 (10:44 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sat, 5 Sep 2009 10:44:58 +0000 (10:44 -0000)
svn path=/main/trunk/; revision=14191

pym/portage/__init__.py

index 4b79d6802de2ba25f7978b58f0cab799e1840b2b..dfb9c0fefbdd9810eb624a021fe1e93c3608ea61 100644 (file)
@@ -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,