extras-buildsys/utils/pushscript ToStable.py,1.6,1.7

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sat Jan 19 15:36:37 UTC 2008


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19032

Modified Files:
	ToStable.py 
Log Message:
Don't tree double-+ as regexp meta-characters (e.g. for the libsigc++ package).


Index: ToStable.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/ToStable.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ToStable.py	11 Sep 2007 00:10:33 -0000	1.6
+++ ToStable.py	19 Jan 2008 15:36:35 -0000	1.7
@@ -76,6 +76,11 @@
 
 
 def main(cfg,dist,regexplist):
+    # Don't treat double-"+" as regexp meta-characters.
+    for i in range(len(regexplist)):
+        while regexplist[i].find('++')>=0:
+            regexplist[i] = regexplist[i].replace('++','\+\+')
+
     srcdist = 'testing/%s' % dist
     destdist = dist
 




More information about the fedora-extras-commits mailing list