[Secure-testing-commits] r6472 - bin

fw at alioth.debian.org fw at alioth.debian.org
Sun Sep 2 23:42:46 UTC 2007


Author: fw
Date: 2007-09-02 23:42:46 +0000 (Sun, 02 Sep 2007)
New Revision: 6472

Modified:
   bin/dsa2list
Log:
* bin/dsa2list: Fix date format


Modified: bin/dsa2list
===================================================================
--- bin/dsa2list	2007-09-02 23:41:46 UTC (rev 6471)
+++ bin/dsa2list	2007-09-02 23:42:46 UTC (rev 6472)
@@ -77,7 +77,7 @@
         match = re_date.match(line)
         if match:
             (m, d, y) = match.groups()
-            date = "%s %s %s" % (d, m, y)
+            date = "%02d %s %s" % (int(d), m, y)
 
         for cve in re_cve.findall(line):
             cve_names[cve] = True




More information about the Secure-testing-commits mailing list