Author: megabajt
Date: Thu Apr 26 23:32:12 2012
New Revision: 12562

Modified:
   security/cve_reader.py
Log:
Stop processing on separator indicating new commit


Modified: security/cve_reader.py
==============================================================================
--- security/cve_reader.py      (original)
+++ security/cve_reader.py      Thu Apr 26 23:32:12 2012
@@ -74,7 +74,7 @@
                        # This is needed in cases when commit log is divided by 
diff range string
                        foundcveafterrange = 0
                        
-                       while (i + cvslog < len(lines) and not 
re.match('^Index\:.*\.spec', lines[i + cvslog])):
+                       while (i + cvslog < len(lines) and not 
re.match(r'^Index\:.*|^-----========== SEPARATOR =.*', lines[i + cvslog])):
                                if re.match('.*Revision.*', lines[i+cvslog]):
                                        if len(cve) > 0:
                                                # Check if parseSPEC has to be 
used
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to