]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/genhtml/genhtml.py
Adds automatic update of copyright notice.
[can-benchmark.git] / gw-tests / genhtml / genhtml.py
index 051e034ec5c0894085a3cb92c7b440fb9458c254..811b7359e6634b10a7487e3b423825d3793bd97f 100755 (executable)
@@ -6,8 +6,9 @@ import sys;
 import urllib
 import traceback
 import glob
+import datetime
 
-html_copyright = """<div style="font-size: small; color: gray; margin-top: 1em;">Authors: Michal Sojka, Pavel Píša, Copyright © 2010, 2011 Czech Technical University in Prague</div>"""
+html_copyright = """<div style="font-size: small; color: gray; margin-top: 1em;">Authors: Michal Sojka, Pavel Píša, Copyright © 2010-%d Czech Technical University in Prague</div>""" % datetime.date.today().year
 
 class DimValue(object):
     def __new__(cls, dim, value):