~dricottone/huttese-apk

ref: bd5ba825bc7e982574869e6a5a4daec5a5c05940 huttese-apk/sr.ht/py3-emailthreads/0001-Don-t-strip-whitespace-from-lines.patch -rw-r--r-- 662 bytes
bd5ba825 — Drew DeVault Update submit-builds to support paths 5 years ago
                                                                                
f73034c1 Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 9019f3fb9c1a29ee0a04776d510f5e52cef6673b Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Thu, 9 May 2019 15:18:38 -0400
Subject: [PATCH 1/2] Don't strip whitespace from lines

---
 emailthreads/quotes.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/emailthreads/quotes.py b/emailthreads/quotes.py
index d7ebe53..4dd6b5d 100644
--- a/emailthreads/quotes.py
+++ b/emailthreads/quotes.py
@@ -60,8 +60,6 @@ def parse_blocks(msg):
 	block_lines = []
 	was_quoted = False
 	for (i, line) in enumerate(text_lines):
-		line = line.strip()
-
 		line_quoted = line.startswith(">")
 		if line_quoted:
 			line = line[1:].lstrip()
-- 
2.21.0