summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/porttree.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index ac93ff355..c401c4745 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -116,8 +116,12 @@ class portdbapi(dbapi):
# earlier ones that correspond to the same name.
self._ignored_repos = self.settings.repositories.ignored_repos
- self._repository_map = self.settings.repositories.location_map
- self.treemap = self.settings.repositories.treemap
+ self._repository_map = {}
+ for k, v in self.settings.repositories.location_map.items():
+ self._repository_map[os.path.realpath(k)] = v
+ self.treemap = {}
+ for k, v in self.settings.repositories.treemap.items():
+ self.treemap[k] = os.path.realpath(v)
self.porttrees = porttrees
porttree_root = os.path.realpath(