keep the * entries in about.cfg as dividers
This commit is contained in:
parent
009f4f9374
commit
22bdd618e4
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,6 @@ if __name__ == "__main__":
|
|||
section.lines = []
|
||||
for entry in about.get_all("entry"):
|
||||
name = entry.get_text_val("name")
|
||||
if name == "*": continue
|
||||
comment = entry.get_text_val("comment", "")
|
||||
wikiuser = entry.get_text_val("wikiuser", "")
|
||||
email = entry.get_text_val("email", "")
|
||||
|
@ -76,6 +75,9 @@ developer to do it for you.
|
|||
for section in sections:
|
||||
output("=== %s ===\n" % section.title)
|
||||
for name, comment, wikiuser, email in section.lines:
|
||||
if name == "*":
|
||||
output("<hr>\n")
|
||||
continue
|
||||
if comment: comment = " - " + comment
|
||||
if wikiuser:
|
||||
if "(" in name:
|
||||
|
|
Loading…
Add table
Reference in a new issue