zephyr_mirror: Only strip trailing whitespace.

(imported from commit f349778200e0c2fb410e5e2644c82ba4105f3634)
This commit is contained in:
Tim Abbott 2012-11-05 15:39:27 -05:00
parent 77bb41b3dd
commit 42e94b2684

View file

@ -116,7 +116,7 @@ def unwrap_lines(body):
result = "" result = ""
previous_line = lines[0] previous_line = lines[0]
for line in lines[1:]: for line in lines[1:]:
line = line.strip() line = line.rstrip()
if (line == "" or if (line == "" or
previous_line == "" or previous_line == "" or
not re.match(r'^[\w]', line, flags=re.UNICODE) or not re.match(r'^[\w]', line, flags=re.UNICODE) or