diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2008-10-03 00:53:30 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-10-03 00:56:56 +0200 |
commit | 7de892d351cb258461c1581fbe5b252340b05761 (patch) | |
tree | cf0b7a3ad69e9d565cb02b3284ae5fda13f258f2 | |
parent | Specifying output file is not optional right now - require it (diff) | |
download | gentoo-bumpchecker-7de892d351cb258461c1581fbe5b252340b05761.tar.gz gentoo-bumpchecker-7de892d351cb258461c1581fbe5b252340b05761.tar.bz2 gentoo-bumpchecker-7de892d351cb258461c1581fbe5b252340b05761.zip |
Fix HTML validation issues
Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
-rw-r--r-- | modules/gnome_output.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/gnome_output.py b/modules/gnome_output.py index c7fee7e..f5353e2 100644 --- a/modules/gnome_output.py +++ b/modules/gnome_output.py @@ -57,8 +57,12 @@ class Output: lines = [] # header + lines.append('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">') lines.append("<html>") - lines.append('<head><link rel="stylesheet" type="text/css" href="default.css"></head>') + lines.append('<head>') + lines.append('<title>Gnome ' + clioptions_module.Options().get_arguments().release_numer + ' Progress</title>') + lines.append('<link rel="stylesheet" type="text/css" href="default.css"></link>') + lines.append('</head>') lines.append("<body>") lines.append("<h2>Gnome " + clioptions_module.Options().get_arguments().release_number + " Progress</h2>") lines.append("contact " + os.environ["USER"] + "@gentoo.org if anything is not correct<br>") @@ -74,7 +78,9 @@ class Output: lines.append("<br>") lines.append('<table cellpadding="3">') + lines.append('<tr>') lines.append("<th>Package Name</th><th>Portage Version</th><th>Official Version</th><th>Latest Version</th>") + lines.append('</tr>') # data for package in self.packages: |