diff options
Diffstat (limited to 'python/quote_parsing/parse_emails.py')
| -rw-r--r-- | python/quote_parsing/parse_emails.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/quote_parsing/parse_emails.py b/python/quote_parsing/parse_emails.py index 488bf2e3..b39a16f8 100644 --- a/python/quote_parsing/parse_emails.py +++ b/python/quote_parsing/parse_emails.py @@ -196,7 +196,12 @@ def parse_cs_block(fh, indextype): r = [] for line in fh: line = line.strip() - if line.startswith("Ref") or line == "" or line.startswith("* Eur"): + if ( + line.startswith("Ref") + or line == "" + or line.startswith("* Eur") + or line.startswith("* No Knockout") + ): break line = re.sub("[/|]", " ", line) vals = re.sub(" +", " ", line).rstrip().split(" ") |
