Commit d321465f authored by Amos Latteier's avatar Amos Latteier

Minor formatting tweak to API help topics.

parent ca900882
......@@ -135,7 +135,8 @@ class APIHelpTopic(HelpTopic.HelpTopic):
while 1:
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment