* src/docgen/AsciiDoc.py (reformat_para): Correctly check for
empty paragraph. svn: r3825
This commit is contained in:
parent
224bef8af3
commit
4dd9d443e2
@ -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>
|
2004-12-19 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
* src/DbPrompter.py: Add display messages during load
|
* src/DbPrompter.py: Add display messages during load
|
||||||
* src/GrampsBSDDB.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):
|
def reformat_para(para='',left=0,right=72,just=LEFT,right_pad=0):
|
||||||
if not para:
|
if not para.strip():
|
||||||
return "\n"
|
return "\n"
|
||||||
words = para.split()
|
words = para.split()
|
||||||
lines = []
|
lines = []
|
||||||
|
Loading…
Reference in New Issue
Block a user