[python-debian/master] bugfix: avoid skipping last paragraph

Stefano Zacchiroli zack at upsilon.cc
Sun Apr 26 19:22:02 UTC 2009


---
 examples/deb822/render-dctrl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/examples/deb822/render-dctrl b/examples/deb822/render-dctrl
index 19d48d2..56678d0 100755
--- a/examples/deb822/render-dctrl
+++ b/examples/deb822/render-dctrl
@@ -115,6 +115,8 @@ def render_longdesc(lines):
                 curpara, inlist, listindent = [l], False, 0
             else:
                 curpara.append(l)
+    if curpara:
+        store_para()
 
     for p in paragraphs:	# render paragraphs
         print markdown(p)
-- 
1.5.6.5




More information about the pkg-python-debian-commits mailing list