projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e75682
)
Bug #339402 - Prevent whitespace in repo names.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 2 Oct 2010 16:13:37 +0000
(09:13 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 2 Oct 2010 16:13:37 +0000
(09:13 -0700)
pym/portage/repository/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/repository/config.py
b/pym/portage/repository/config.py
index be202c3922f5b902554d5ef8eab8d56fe7e78ccb..acaec70bb3f7d495722ceb581af7adef7191739a 100644
(file)
--- 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