diff options
author | Joey Hess <joeyh@debian.org> | 2005-09-07 16:09:48 +0000 |
---|---|---|
committer | Joey Hess <joeyh@debian.org> | 2005-09-07 16:09:48 +0000 |
commit | 9609399bd421552e9643213ab7ee85bb3bc92869 (patch) | |
tree | 0f07cf01fe5f60bfd7a587f7c9d5ac6dfdc27b55 /data/DTSA/dtsa | |
parent | 4b32e7d5d5a9fc70d04acbd87cf18a3f496ea45e (diff) |
reorg the header so that the website url isn't too long for its line
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@1837 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'data/DTSA/dtsa')
-rwxr-xr-x | data/DTSA/dtsa | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/DTSA/dtsa b/data/DTSA/dtsa index 809231b14a..03f8ca7279 100755 --- a/data/DTSA/dtsa +++ b/data/DTSA/dtsa @@ -178,11 +178,12 @@ def export_html(src, date, vuln_type, cve, testing_fix, sid_fix, descr, vendor_a 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@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") |