From dd07236eec1ffd64b372e0d2b91f483f8ccdfb8e Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 9 Nov 2012 18:04:37 -0500 Subject: [PATCH] zephyr_mirror: Tweak linewrapping algorithm. (imported from commit 1165a7680251f6bb365f44a60612fffe0fbbae42) --- bots/zephyr_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index 400cf00..7cf9e59 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -44,7 +44,7 @@ def to_zephyr_username(humbug_username): def different_paragraph(line, next_line): words = next_line.split() return (len(line + " " + words[0]) < len(next_line) * 0.8 or - len(line + " " + words[0]) < 60 or + len(line + " " + words[0]) < 50 or len(line) < len(words[0])) # Linewrapping algorithm based on: