SVN: security/cve_reader.py

shadzik shadzik at pld-linux.org
Mon Apr 7 20:03:31 CEST 2008


Author: shadzik
Date: Mon Apr  7 20:03:31 2008
New Revision: 9693

Modified:
   security/cve_reader.py
Log:
- fix RSS items by adding them a uniq guid


Modified: security/cve_reader.py
==============================================================================
--- security/cve_reader.py	(original)
+++ security/cve_reader.py	Mon Apr  7 20:03:31 2008
@@ -347,7 +347,8 @@
 			PyRSS2Gen.RSSItem(
 				title = "New CVE fixes for %s" % spec,
 				description = "%s on revision %s resolves: %s" % (spec, revision, rsscves),
-				pubDate = datetime.datetime(int(date[0]), int(date[1]), int(date[2]), int(hour[0]), int(hour[1]), int(hour[2]))
+				pubDate = datetime.datetime(int(date[0]), int(date[1]), int(date[2]), int(hour[0]), int(hour[1]), int(hour[2])),
+				guid = PyRSS2Gen.Guid("http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/%s?rev=%s" % (pkg['spec'], pkg['revision']))
 			)
 		)
 	


More information about the pld-cvs-commit mailing list