From f195e7bee59984c6518c67bd0d13718dcbb67a1e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 2 Oct 2010 09:13:37 -0700 Subject: [PATCH] Bug #339402 - Prevent whitespace in repo names. --- pym/portage/repository/config.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2