From 42e94b2684e44fd507c3b8a6b750ae7dc4400cf6 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 5 Nov 2012 15:39:27 -0500 Subject: [PATCH] zephyr_mirror: Only strip trailing whitespace. (imported from commit f349778200e0c2fb410e5e2644c82ba4105f3634) --- 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 6c4fe3e..b4e097d 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -116,7 +116,7 @@ def unwrap_lines(body): result = "" previous_line = lines[0] for line in lines[1:]: - line = line.strip() + line = line.rstrip() if (line == "" or previous_line == "" or not re.match(r'^[\w]', line, flags=re.UNICODE) or