From 09b83a0ab8def737049d786b5c7ae06d539bc64c Mon Sep 17 00:00:00 2001
From: Henrik Levkowetz <henrik@levkowetz.com>
Date: Sat, 11 Jan 2020 00:20:37 +0000
Subject: [PATCH] Fixed a Py2/3 compatibility issue with the verified errata
 code.  - Legacy-Id: 17220

---
 ietf/sync/rfceditor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ietf/sync/rfceditor.py b/ietf/sync/rfceditor.py
index 29c81b843..ff0d735db 100644
--- a/ietf/sync/rfceditor.py
+++ b/ietf/sync/rfceditor.py
@@ -505,7 +505,7 @@ def update_docs_from_rfc_index(index_data, errata_data, skip_older_than_date=Non
             if not doc.tags.filter(pk=tag_has_errata.pk).exists():
                 doc.tags.add(tag_has_errata)
                 changes.append("added Errata tag")
-            has_verified_errata = name.upper() in errata and any([ e['errata_status_code']=='Verified' for e in errata[name.upper()] ])
+            has_verified_errata = name.upper() in errata and any([ er['errata_status_code']=='Verified' for er in errata[name.upper()] ])
             if has_verified_errata and not doc.tags.filter(pk=tag_has_verified_errata.pk).exists():
                 doc.tags.add(tag_has_verified_errata)
                 changes.append("added Verified Errata tag")