SVN: security/cve_reader.py

shadzik shadzik at pld-linux.org
Mon Jun 29 20:18:45 CEST 2009


Author: shadzik
Date: Mon Jun 29 20:18:45 2009
New Revision: 10402

Modified:
   security/cve_reader.py
Log:
- better


Modified: security/cve_reader.py
==============================================================================
--- security/cve_reader.py	(original)
+++ security/cve_reader.py	Mon Jun 29 20:18:45 2009
@@ -153,7 +153,7 @@
 	lines = []
 	p = []
 	specname = spec.split('.')[0]
-	CVSMODULE += specname
+	CVSMODULE = "packages/" + specname + "/"
 	
 	os.popen("cvs -d %s get %s%s" % (CVSROOT, CVSMODULE, spec))
 	if os.path.isfile("%s%s" % (CVSMODULE, spec)):
@@ -243,7 +243,7 @@
 	th_tag = ""
 	ti_tag = ""
 	specname = spec.split('.')[0]
-	CVSMODULE += specname
+	CVSMODULE = "packages/" + specname + "/"
 	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()


More information about the pld-cvs-commit mailing list