From: Gianluca Montecchi Date: Tue, 20 Oct 2009 21:15:27 +0000 (+0200) Subject: Fixed the wrong index_header values X-Git-Tag: 1.0.0~59^2~11^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e308d438dbe74db0d432abb82cf92b8717a21602;p=be.git Fixed the wrong index_header values --- diff --git a/becommands/html.py b/becommands/html.py index 21e80c3..f36ba8d 100644 --- a/becommands/html.py +++ b/becommands/html.py @@ -55,7 +55,7 @@ def execute(args, manipulate_encodings=True): bd.load_all_bugs() html_gen = HTMLGen(bd, template=options.template, verbose=options.verbose, - title=options.title, ) + title=options.title, index_header=options.index_header ) html_gen.run(options.out_dir) def get_parser(): @@ -96,7 +96,7 @@ class HTMLGen (object): self.verbose = verbose self.title = title self.index_header = index_header - + if encoding != None: self.encoding = encoding else: @@ -246,6 +246,7 @@ class HTMLGen (object): filename = "index_inactive.html" else: raise Exception, "Unrecognized bug_type: '%s'" % bug_type + template_info = {'title':title, 'index_header':index_header, 'charset':self.encoding,