[yum-cvs] yum/yum sqlitesack.py,1.47.2.4,1.47.2.5

Seth Vidal skvidal at linux.duke.edu
Sat Feb 24 08:09:41 UTC 2007


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv22541

Modified Files:
      Tag: yum-3_0_X
	sqlitesack.py 
Log Message:

make globs work again.

Index: sqlitesack.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/sqlitesack.py,v
retrieving revision 1.47.2.4
retrieving revision 1.47.2.5
diff -u -r1.47.2.4 -r1.47.2.5
--- sqlitesack.py	21 Feb 2007 17:01:38 -0000	1.47.2.4
+++ sqlitesack.py	24 Feb 2007 08:09:39 -0000	1.47.2.5
@@ -506,7 +506,7 @@
         exactmatch = []
         unmatched = list(pkgspecs)
         for p in pkgspecs:
-            if re.match('[\*\?\[\]]', p):
+            if re.match('.*[\*\?\[\]].*', p):
                 query = PARSE_QUERY % ({ "op": "glob", "q": p })
                 matchres = matched
             else:




More information about the Yum-cvs-commits mailing list