[yum-git] Branch 'yum-3_2_X' - yum/misc.py

Seth Vidal skvidal at linux.duke.edu
Fri Aug 29 04:57:16 UTC 2008


 yum/misc.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 456e5d1b6ff49652fce7c26b2dd26bb7ae7e8717
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Fri Aug 29 00:56:51 2008 -0400

    make sure we do a fulle search for name.arch separations, too - so if a . is present, search the whole
    shooting match, not just the name.

diff --git a/yum/misc.py b/yum/misc.py
index b9cc387..2f2b27b 100644
--- a/yum/misc.py
+++ b/yum/misc.py
@@ -92,7 +92,7 @@ def re_full_search_needed(s):
     """ Tests if a string needs a full nevra match, instead of just name. """
     global _re_compiled_full_match
     if _re_compiled_full_match is None:
-        one   = re.compile('.*[-\*\?\[\]].*.$') # Any wildcard or - seperator
+        one   = re.compile('.*[-\.\*\?\[\]].*.$') # Any wildcard or - seperator
         two   = re.compile('^[0-9]')        # Any epoch, for envra
         _re_compiled_full_match = (one, two)
     for rec in _re_compiled_full_match:



More information about the Yum-cvs-commits mailing list