diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-06-12 22:53:03 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-06-12 22:53:03 +0000 |
commit | 7485dbbbc0ed7e543640fa17b477b4d99a5b373a (patch) | |
tree | 472cb2fe81c2ef8ff83fb6d8960e05780ed66dcf /tmpl/advisory.txt | |
parent | 54535a6a6d6fdebeb973147de137de0a3f27baf9 (diff) | |
download | mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.tar mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.tar.gz mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.tar.bz2 mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.tar.xz mgaadvisories-7485dbbbc0ed7e543640fa17b477b4d99a5b373a.zip |
advisory.{html,txt}: don't add a CVE line when there is no CVE
Diffstat (limited to 'tmpl/advisory.txt')
-rw-r--r-- | tmpl/advisory.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tmpl/advisory.txt b/tmpl/advisory.txt index 41db6d2..2094722 100644 --- a/tmpl/advisory.txt +++ b/tmpl/advisory.txt @@ -6,10 +6,9 @@ Publication date: [% date.format(adv.pubtime, format => '%d %b %Y', gmt => 1) %] URL: [% config.site_url %]/[% basename.ID(advisory) %].html Type: [% adv.type %] Affected Mageia releases: [% adv.src.keys.sort.join(', ') %] -[% IF adv.CVE -%] +[% IF adv.CVE.list.size != 0 -%] CVE: [% adv.CVE.join(",\n ") %] -[%- END -%] - +[% END -%] Description: [% adv.description -%] |