1 |
Author: grobian |
2 |
Date: 2009-09-05 10:44:58 +0000 (Sat, 05 Sep 2009) |
3 |
New Revision: 14191 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/__init__.py |
7 |
Log: |
8 |
DEPRECATED_PROFILE_FILE is derived from PROFILE_PATH which has no leading slash |
9 |
|
10 |
Modified: main/trunk/pym/portage/__init__.py |
11 |
=================================================================== |
12 |
--- main/trunk/pym/portage/__init__.py 2009-09-05 10:35:02 UTC (rev 14190) |
13 |
+++ main/trunk/pym/portage/__init__.py 2009-09-05 10:44:58 UTC (rev 14191) |
14 |
@@ -8471,7 +8471,7 @@ |
15 |
if settings is not None: |
16 |
config_root = settings["PORTAGE_CONFIGROOT"] |
17 |
deprecated_profile_file = os.path.join(config_root, |
18 |
- DEPRECATED_PROFILE_FILE.lstrip(os.sep)) |
19 |
+ DEPRECATED_PROFILE_FILE) |
20 |
if not os.access(deprecated_profile_file, os.R_OK): |
21 |
return False |
22 |
dcontent = codecs.open(_unicode_encode(deprecated_profile_file, |