* src/docgen/AsciiDoc.py (reformat_para): Correctly check for
empty paragraph. svn: r3825
This commit is contained in:
parent
879093c9f3
commit
c9e6a13a3d
@ -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
|
||||
|
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user