From 0be166bf8523cbd519c9ea828b5aba23d9f67e3f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 16 Jun 2008 11:48:36 +0000 Subject: Tweak the config._accept_chost() regex. svn path=/main/trunk/; revision=10669 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index b3ee3ff17..6b35f1791 100644 --- 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)) -- cgit v1.2.3-1-g7c22