~dricottone/huttese-apk

ref: 3a62497482b85247edb5aa4ac07f3b5546655080 huttese-apk/sr.ht/py3-emailthreads/0001-Don-t-strip-whitespace-from-lines.patch -rw-r--r-- 662 bytes
3a624974 — Drew DeVault py3-pytest-flake8: import from testing 5 years ago
                                                                                
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