From 02105f12f3293dd63e21d5bfaa41ef6a74af9355 Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Sat, 15 Aug 2009 20:15:08 -0700 Subject: [PATCH] Two small formatting changes in writers: INFO and blank lines - Make INFO the assumed default in ReST and Text writers - don't show "INFO:" at the start of the line - Add extra blank lines in ReST between topics - makes it look a little bit nicer (but not much. ReST is sort of the worst of both worlds for something this specialized. darcs-hash:20090816031508-82ea9-a8e92abae01914e1bff7f9ee36f22512e27ce114.gz --- items.py | 2 ++ writers.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/items.py b/items.py index 19ff1a5..7318166 100644 --- a/items.py +++ b/items.py @@ -166,6 +166,8 @@ class Info(GenericItem): itemtype = 'INFO' html2_template = ("""%(starthtml)s%(line)s%(endhtml)s """ """(%(nick)s, %(time)s)""") + rst_template = """%(startrst)s%(line)s%(endrst)s (%(rstref)s_)""" + text_template = """%(starttext)s%(line)s%(endtext)s (%(nick)s, %(time)s)""" class Idea(GenericItem): itemtype = 'IDEA' class Agreed(GenericItem): diff --git a/writers.py b/writers.py index 6b95b52..f7c3a31 100644 --- a/writers.py +++ b/writers.py @@ -465,6 +465,8 @@ class ReST(_BaseWriter): for m in M.minutes: item = "* "+m.rst(M) if m.itemtype == "TOPIC": + if haveTopic: + MeetingItems.append("") item = wrapList(item, 0) haveTopic = True else: