diff options
| author | bwarsaw | 2003-10-07 21:24:35 +0000 |
|---|---|---|
| committer | bwarsaw | 2003-10-07 21:24:35 +0000 |
| commit | 9eb948540cd35ee2f58e36a49e99e91cad3810e6 (patch) | |
| tree | 5664853dbd4fa5d8944e85c706ad35fe7e0079ac /Mailman/Utils.py | |
| parent | b8f007b5cadb14ceeeacfd39917e9078f5d8547c (diff) | |
| download | mailman-9eb948540cd35ee2f58e36a49e99e91cad3810e6.tar.gz mailman-9eb948540cd35ee2f58e36a49e99e91cad3810e6.tar.zst mailman-9eb948540cd35ee2f58e36a49e99e91cad3810e6.zip | |
Diffstat (limited to 'Mailman/Utils.py')
| -rw-r--r-- | Mailman/Utils.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py index 175c23a1b..443bccdac 100644 --- a/Mailman/Utils.py +++ b/Mailman/Utils.py @@ -145,12 +145,10 @@ def wrap(text, column=70, honor_leading_ws=True): if eol == 0: # break on whitespace after column eol = column - while eol < len(text) and \ - text[eol] not in whitespace: + while eol < len(text) and text[eol] not in whitespace: eol += 1 bol = eol - while bol < len(text) and \ - text[bol] in whitespace: + while bol < len(text) and text[bol] in whitespace: bol += 1 bol -= 1 line = text[:eol+1] + '\n' |
