From: Zac Medico Date: Sat, 2 Oct 2010 16:13:37 +0000 (-0700) Subject: Bug #339402 - Prevent whitespace in repo names. X-Git-Tag: v2.2_rc90~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f195e7bee59984c6518c67bd0d13718dcbb67a1e;p=portage.git Bug #339402 - Prevent whitespace in repo names. --- 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