Permalink
Browse files

Remove excess newlines and add a "Help text: " prefix to the abstract

  • Loading branch information...
1 parent 91deb51 commit 96aefde3b9c50e4db9d3d40137ea1d23da010360 @rpicard rpicard committed Jul 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lkddb/parse.py
View
@@ -101,7 +101,7 @@ def __next__(self):
if help_line.tag != "p":
break
help_lines.append(lxml.etree.tostring(help_line,encoding="unicode",method="text").replace("\n"," ").strip())
- help = "\\n".join(help_lines)
+ help = "<i>Help text:</i> " + " ".join(help_lines)
if (not help) or (help == "(none)"):
self.logParsingError(__class__.MISSING_CONTENT,config_page_url)
continue

0 comments on commit 96aefde

Please sign in to comment.