public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r10670 - main/branches/2.1.2/pym
@ 2008-06-16 11:49 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-06-16 11:49 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-06-16 11:49:22 +0000 (Mon, 16 Jun 2008)
New Revision: 10670

Modified:
   main/branches/2.1.2/pym/portage.py
Log:
Tweak the config._accept_chost() regex. (trunk r10669)


Modified: main/branches/2.1.2/pym/portage.py
===================================================================
--- main/branches/2.1.2/pym/portage.py	2008-06-16 11:48:36 UTC (rev 10669)
+++ main/branches/2.1.2/pym/portage.py	2008-06-16 11:49:22 UTC (rev 10670)
@@ -2402,7 +2402,7 @@
 			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))

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-16 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 11:49 [gentoo-commits] portage r10670 - main/branches/2.1.2/pym Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox