diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/quote_parsing/parse_emails.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/quote_parsing/parse_emails.py b/python/quote_parsing/parse_emails.py index eea34ba9..5dde9146 100644 --- a/python/quote_parsing/parse_emails.py +++ b/python/quote_parsing/parse_emails.py @@ -165,7 +165,8 @@ def parse_cs_block(fh, indextype): break line = re.sub("[/|]", " ", line) vals = re.sub(" +", " ", line).rstrip().split(" ") - if vals == [""]: + if len(vals) == 1: + logger.info("spurious line", line) continue strike, *rest = vals # CS quotes payer first, so we need to move things around a bit |
