aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/quote_parsing/parse_emails.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/quote_parsing/parse_emails.py b/python/quote_parsing/parse_emails.py
index e28baa0c..a1991839 100644
--- a/python/quote_parsing/parse_emails.py
+++ b/python/quote_parsing/parse_emails.py
@@ -484,6 +484,7 @@ def parse_gs(fh, index_desc):
option_stack[expiry], line = parse_gs_block(fh, index_desc["index"])
except IndexError:
logger.error("Something went wrong")
+ break
else:
logger.error("Can't parse expiry line:", line)
elif line.startswith("Assumes"):