[Secure-testing-commits] r1837 - data/DTSA
Joey Hess
joeyh at costa.debian.org
Wed Sep 7 16:09:49 UTC 2005
Author: joeyh
Date: 2005-09-07 16:09:48 +0000 (Wed, 07 Sep 2005)
New Revision: 1837
Modified:
data/DTSA/dtsa
Log:
reorg the header so that the website url isn't too long for its line
Modified: data/DTSA/dtsa
===================================================================
--- data/DTSA/dtsa 2005-09-07 15:46:35 UTC (rev 1836)
+++ data/DTSA/dtsa 2005-09-07 16:09:48 UTC (rev 1837)
@@ -178,11 +178,12 @@
def export_ascii(src, date, vuln_type, cve, testing_fix, sid_fix, descr, vendor_advisory, id, rev, author, scope, debian_specific):
ascii = open(os.getcwd() + "/" + id, "w")
- # FIXME, correct indents
+ # FIXME: use a nice external template with alignment specifiers
+ # like it used it.
ascii.write("------------------------------------------------------------------------------\n")
- ascii.write("Debian Testing Security Advisory "+ id + ((12-len(id))*" ") + " http://secure-testing.debian.net\n")
+ ascii.write("Debian Testing Security Advisory "+ id + ((45-len(id)-len(date))*" ") + date + "\n")
ascii.write("secure-testing-team at lists.alioth.debian.org " + ((34-len(author))*" ") + author + "\n")
- ascii.write(date + "\n")
+ ascii.write("http://secure-testing-master.debian.net/\n")
ascii.write("------------------------------------------------------------------------------\n")
ascii.write("\n")
ascii.write("Package : " + src + "\n")
More information about the Secure-testing-commits
mailing list