* src/docgen/AsciiDoc.py (reformat_para): Correctly check for

empty paragraph.


svn: r3825
This commit is contained in:
Alex Roitman 2004-12-21 17:04:52 +00:00
parent 224bef8af3
commit 4dd9d443e2
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-12-21 Alex Roitman <shura@alex.neuro.umn.edu>
* src/docgen/AsciiDoc.py (reformat_para): Correctly check for
empty paragraph.
2004-12-19 Don Allingham <dallingham@users.sourceforge.net>
* src/DbPrompter.py: Add display messages during load
* src/GrampsBSDDB.py: Add display messages during load

View File

@ -53,7 +53,7 @@ _WIDTH_IN_CHARS = 72
#
#------------------------------------------------------------------------
def reformat_para(para='',left=0,right=72,just=LEFT,right_pad=0):
if not para:
if not para.strip():
return "\n"
words = para.split()
lines = []