summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/repository/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index be202c392..acaec70bb 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -72,6 +72,7 @@ class RepoConfig(object):
missing = True
if self.location is not None:
name, missing = self._read_repo_name(self.location)
+ name = '-'.join(name.split())
elif name == "DEFAULT":
missing = False
self.name = name