From 9cd009102e0925d46aa2bfd98231269a3277d395 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sat, 2 Jun 2007 04:10:37 +0000 Subject: [PATCH] Fix title error HtmlDoc.py. svn: r8527 --- ChangeLog | 3 +++ src/docgen/HtmlDoc.py | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 136a618ba..aba9cf4bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-05-18 Brian Matherly + * src/docgen/HtmlDoc.py: fix title error. + 2007-05-24 Don Allingham * src/Simple/Makefile.am: added * src/DataViews/_PedigreeView.py: catch loop in relationships, diff --git a/src/docgen/HtmlDoc.py b/src/docgen/HtmlDoc.py index ca8720706..243660653 100644 --- a/src/docgen/HtmlDoc.py +++ b/src/docgen/HtmlDoc.py @@ -251,11 +251,7 @@ class HtmlDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc): match = t_header_line_re.match(msg) if match: m = match.groups() - if self.title: - msg = self.title - else: - msg = m[1] - self.file_header = '%s%s%s\n' % (m[0],msg,m[2]) + self.file_header = '%s%s%s\n' % (m[0],m[1],m[2]) else: self.file_header = self.top self.file_header = self.process_line(self.file_header)