diff options
author | Sylvain <syt@logilab.fr> | 2008-01-22 15:49:24 +0100 |
---|---|---|
committer | Sylvain <syt@logilab.fr> | 2008-01-22 15:49:24 +0100 |
commit | 7310c56f9c834088c8af6cfbef4588da26de6599 (patch) | |
tree | ee09774f32f7f86cb24b9377ec65026768d685cf /textutils.py | |
parent | a62ff72dfae07ad1cf54bd7dda0bd1af570ca7e0 (diff) | |
download | logilab-common-7310c56f9c834088c8af6cfbef4588da26de6599.tar.gz |
cleanup
Diffstat (limited to 'textutils.py')
-rw-r--r-- | textutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textutils.py b/textutils.py index 88167a8..7114f68 100644 --- a/textutils.py +++ b/textutils.py @@ -131,7 +131,7 @@ def normalize_text(text, line_len=80, indent='', rest=False): result = [] for text in _BLANKLINES_RGX.split(text): result.append(normp(text, line_len, indent)) - return ('%s%s' % (linesep, linesep)).join(result) + return ('%s%s%s' % (linesep, indent, linesep)).join(result) def normalize_paragraph(text, line_len=80, indent=''): |