SVN: security/cve_reader.py

megabajt megabajt at pld-linux.org
Mon Dec 17 22:18:44 CET 2007


Author: megabajt
Date: Mon Dec 17 22:18:44 2007
New Revision: 9147

Modified:
   security/cve_reader.py
Log:
- run grep once


Modified: security/cve_reader.py
==============================================================================
--- security/cve_reader.py	(original)
+++ security/cve_reader.py	Mon Dec 17 22:18:44 2007
@@ -229,7 +229,7 @@
 	ac_tag = ""
 	th_tag = ""
 	ti_tag = ""
-	autotag = os.popen("cvs -d %s log -tr%s: %s%s |grep -A300 symbolic |grep auto" % (CVSROOT, revision, CVSMODULE, spec))
+	autotag = os.popen("cvs -d %s log -tr%s: %s%s | grep -E auto\-\(ac\|th\|ti\)\-" % (CVSROOT, revision, CVSMODULE, spec))
 	for l in autotag.xreadlines():
 		l = l.strip()
 		tags.append(l)


More information about the pld-cvs-commit mailing list