~dricottone/huttese-apk

ref: eef67f2a433369fa39f2597af9ee310f3ef27d1b huttese-apk/sr.ht/py3-emailthreads/0001-Don-t-strip-whitespace-from-lines.patch -rw-r--r-- 662 bytes
eef67f2a — Drew DeVault py3-case: add py3-six to depends 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