aboutsummaryrefslogtreecommitdiffstats
path: root/python/quote_parsing/parse_emails.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/quote_parsing/parse_emails.py')
-rw-r--r--python/quote_parsing/parse_emails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/quote_parsing/parse_emails.py b/python/quote_parsing/parse_emails.py
index e02918df..dff2f432 100644
--- a/python/quote_parsing/parse_emails.py
+++ b/python/quote_parsing/parse_emails.py
@@ -917,7 +917,7 @@ def write_todb(swaption_stack, index_data, conn):
for t in index_data.itertuples(index=False):
c.execute(sql_str, t)
try:
- (ref_id,) = next(c)
+ (ref_id,) = next(iter(c))
except StopIteration:
continue
else: