[Zope-Checkins] CVS: Zope/lib/python/HelpSys - APIHelpTopic.py:1.12
Amos Latteier
amos@zope.com
Tue, 16 Oct 2001 21:06:26 -0400
Update of /cvs-repository/Zope/lib/python/HelpSys
In directory cvs.zope.org:/tmp/cvs-serv19237
Modified Files:
APIHelpTopic.py
Log Message:
Minor formatting tweak to API help topics.
=== Zope/lib/python/HelpSys/APIHelpTopic.py 1.11 => 1.12 ===
line=string.strip(lines[0])
if line:
- self.title=line
+ # get rid of anything after a colon in the line
+ self.title=string.split(line, ':')[0]
break
lines.pop(0)
if not lines: