[Happydoc-checkins] CVS: HappyDoc3/happydoclib/docset base.py,1.6,1.7
Brought to you by:
doughellmann,
krlosaqp
From: Doug H. <dou...@us...> - 2002-12-08 16:23:55
|
Update of /cvsroot/happydoc/HappyDoc3/happydoclib/docset In directory sc8-pr-cvs1:/tmp/cvs-serv348/happydoclib/docset Modified Files: base.py Log Message: Change default value of title and subtitle to empty string instead of None, so we don't see None in the output. Index: base.py =================================================================== RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/docset/base.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** base.py 7 Dec 2002 17:02:48 -0000 1.6 --- base.py 8 Dec 2002 16:23:52 -0000 1.7 *************** *** 328,332 **** raise NotImplemented('writeTOCFile') ! def writeFileHeader(self, output, title=None, subtitle=None): raise NotImplemented('writeFileHeader') --- 328,332 ---- raise NotImplemented('writeTOCFile') ! def writeFileHeader(self, output, title='', subtitle=''): raise NotImplemented('writeFileHeader') *************** *** 334,338 **** raise NotImplemented('writeFileFooter') ! def openOutput(self, name, title=None, subtitle=None): f = open(name, 'wt') self.writeFileHeader(f, title=title, subtitle=subtitle) --- 334,338 ---- raise NotImplemented('writeFileFooter') ! def openOutput(self, name, title='', subtitle=''): f = open(name, 'wt') self.writeFileHeader(f, title=title, subtitle=subtitle) |