projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1d3cc
)
Tweak the config._accept_chost() regex. (trunk r10669)
author
Zac Medico
<zmedico@gentoo.org>
Mon, 16 Jun 2008 11:49:22 +0000
(11:49 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 16 Jun 2008 11:49:22 +0000
(11:49 -0000)
svn path=/main/branches/2.1.2/; revision=10670
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 1f41ef867824b89ed77b6f0c1221e15f8d0a6108..9231d9c0757edde4f49cb9d7a37596fc3fdbd485 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-2402,7
+2402,7
@@
class config:
if not accept_chost:
self._accept_chost_re = re.compile(".*")
elif len(accept_chost) == 1:
- self._accept_chost_re = re.compile(accept_chost[0])
+ self._accept_chost_re = re.compile(
r'^%s$' %
accept_chost[0])
else:
self._accept_chost_re = re.compile(
r'^(%s)$' % "|".join(accept_chost))