From e7eee6cc0b777049cb3dfcef5d2bac80d2d7b12b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 16 Jun 2008 11:49:22 +0000 Subject: [PATCH] Tweak the config._accept_chost() regex. (trunk r10669) svn path=/main/branches/2.1.2/; revision=10670 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index 1f41ef867..9231d9c07 100644 --- 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)) -- 2.26.2