summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-09-05 10:28:46 +0000
committerFabian Groffen <grobian@gentoo.org>2009-09-05 10:28:46 +0000
commitd3bd674687e527fff74c7cfaedd76a80d14731b5 (patch)
treee1ca1da18d99045b518663e40a8f5ad256326ed9
parent3bbf51d00ad96e5927ce4d84712fe0e30fbd0212 (diff)
downloadportage-d3bd674687e527fff74c7cfaedd76a80d14731b5.tar.gz
portage-d3bd674687e527fff74c7cfaedd76a80d14731b5.tar.bz2
portage-d3bd674687e527fff74c7cfaedd76a80d14731b5.zip
PRIVATE_PATH has no leading slash (like all other uses of this var assume)
svn path=/main/trunk/; revision=14189
-rw-r--r--pym/portage/sets/files.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/sets/files.py b/pym/portage/sets/files.py
index 64e36802e..7c5a6c766 100644
--- a/pym/portage/sets/files.py
+++ b/pym/portage/sets/files.py
@@ -213,11 +213,11 @@ class WorldSet(EditablePackageSet):
# most attributes exist twice as atoms and non-atoms are stored in
# separate files
self._lock = None
- self._filename = os.path.join(os.sep, root, PRIVATE_PATH.lstrip(os.sep), "world")
+ self._filename = os.path.join(os.sep, root, PRIVATE_PATH), "world")
self.loader = ItemFileLoader(self._filename, self._validate)
self._mtime = None
- self._filename2 = os.path.join(os.sep, root, PRIVATE_PATH.lstrip(os.sep), "world_sets")
+ self._filename2 = os.path.join(os.sep, root, PRIVATE_PATH), "world_sets")
self.loader2 = ItemFileLoader(self._filename2, self._validate2)
self._mtime2 = None