From: Michal Sojka Date: Wed, 16 Feb 2011 12:11:56 +0000 (+0100) Subject: genhtml: Close all html elements and add copyright to all pages X-Git-Tag: fix-allnoconfig~196 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/8359bdc013d38c8e8086a44a3a4ea5b360c414f1 genhtml: Close all html elements and add copyright to all pages --- diff --git a/gw-tests/genhtml/genhtml.py b/gw-tests/genhtml/genhtml.py index fd5940c..1ed6ce7 100755 --- a/gw-tests/genhtml/genhtml.py +++ b/gw-tests/genhtml/genhtml.py @@ -7,6 +7,8 @@ import urllib import traceback import glob +html_copyright = """
Authors: Michal Sojka, Pavel Píša, Copyright © 2010, 2011 Czech Technical University in Prague
""" + class DimValue(object): def __new__(cls, dim, value): if value in dim: @@ -228,7 +230,7 @@ class Test(object): print >>html, "Raw data
" print >>html, "Script source
" % (cdup+self.name+".sh.html") print >>html, "Back to top
" % cdup - + print >>html,"%s" % html_copyright html.close() class Space(list): @@ -396,9 +398,9 @@ class Page(object): print >>html, "" print >> html, """ -
Authors: Michal Sojka, Pavel Píša, Copyright © 2010 Czech Technical University in Prague
+%s -""" +""" % html_copyright if __name__ == "__main__":