From 7060c865a8a20dc921a6ebdd65f57933a34a5b8a Mon Sep 17 00:00:00 2001 From: viega Date: Wed, 3 Jun 1998 00:55:36 +0000 Subject: Fixed a bug in wrap where wrap would error if the length of the string being wrapped was the same as the column parameter. --- modules/mm_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mm_utils.py') diff --git a/modules/mm_utils.py b/modules/mm_utils.py index 419ae06a0..a8fa02967 100644 --- a/modules/mm_utils.py +++ b/modules/mm_utils.py @@ -102,7 +102,7 @@ def wrap(text, column=70): # wrap each line for text in lines: while text: - if len(text) < column: + if len(text) <= column: line = text text = '' else: -- cgit v1.2.3-70-g09d2