Author: shadzik
Date: Mon Jun 29 19:50:46 2009
New Revision: 10401

Modified:
   security/cve_reader.py
Log:
- more adjustements to new cvs structure (should work now)


Modified: security/cve_reader.py
==============================================================================
--- security/cve_reader.py      (original)
+++ security/cve_reader.py      Mon Jun 29 19:50:46 2009
@@ -21,7 +21,7 @@
 # Changes go here
 CVSLOG = '/cvsroot/packages/commits.log'
 CVSROOT = "/cvsroot/"
-CVSMODULE = "SPECS/"
+CVSMODULE = "packages/"
 SIZEFILE = "size.txt"
 XMLFILE = "security.xml"
 
@@ -152,6 +152,8 @@
        # Local variables
        lines = []
        p = []
+       specname = spec.split('.')[0]
+       CVSMODULE += specname
        
        os.popen("cvs -d %s get %s%s" % (CVSROOT, CVSMODULE, spec))
        if os.path.isfile("%s%s" % (CVSMODULE, spec)):
@@ -240,6 +242,8 @@
        ac_tag = ""
        th_tag = ""
        ti_tag = ""
+       specname = spec.split('.')[0]
+       CVSMODULE += 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()
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to