Ticket #325: patch.strip_quotes.325.txt

File patch.strip_quotes.325.txt, 759 bytes (added by tboudreau@…, 11 years ago)

strip_quotes match fix

Line 
1Index: email2trac.py.in
2===================================================================
3--- email2trac.py.in    (revision 632)
4+++ email2trac.py.in    (working copy)
5@@ -2001,7 +2001,7 @@
6 
7                 match = STRIP_RE.match(line)
8                 if match:
9-                    print line
10+                    self.logger.debug('\t"%s "  matched, skipping rest of message' %line)
11                     continue
12 
13             except UnicodeDecodeError:
14@@ -2010,7 +2010,7 @@
15 
16                 match = STRIP_RE.match(tmp_line)
17                 if match:
18-                    print line
19+                    self.logger.debug('\t"%s "  matched, skipping rest of message' %line)
20                     continue
21                 
22             body.append(line)