Author: shadzik
Date: Fri May 23 01:40:13 2008
New Revision: 9764

Modified:
   security/cve_reader.py
Log:
- oops


Modified: security/cve_reader.py
==============================================================================
--- security/cve_reader.py      (original)
+++ security/cve_reader.py      Fri May 23 01:40:13 2008
@@ -107,7 +107,7 @@
                                                        foundrange = 0
                                        else:
                                                # Check if in added line exists 
some CVE note and it's not a patch that was removed
-                                               if 
re.match('^\+.*(CVE-[0-9\-]+)', lines[i+cvslog]) and 
re.match('!^\+.*(CVE-[0-9\-]+)\.patch', lines[i+cvslog]) and 
re.match('!^\+.*(CVE-[0-9\-]+)\.diff', lines[cvslog]):
+                                               if 
re.match('^\+.*(CVE-[0-9\-]+)', lines[i+cvslog]) and 
re.match('!^\+.*(CVE-[0-9\-]+)\.patch', lines[i+cvslog]) and 
re.match('!^\+.*(CVE-[0-9\-]+)\.diff', lines[i+cvslog]):
                                                        if foundrange == 1:
                                                                
foundcveafterrange = 1
                                                        
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to