projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
589bde2
)
Tweak the config._accept_chost() regex.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 16 Jun 2008 11:48:36 +0000
(11:48 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 16 Jun 2008 11:48:36 +0000
(11:48 -0000)
svn path=/main/trunk/; revision=10669
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index b3ee3ff17f71033fbffca2722afe75c237cf2b1b..6b35f1791ac17ec3688674b38b89ea21155d1854 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-2395,7
+2395,7
@@
class config(object):
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))