summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/entity_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/entity_helpers.py')
-rw-r--r--python/fatcat_web/entity_helpers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_web/entity_helpers.py b/python/fatcat_web/entity_helpers.py
index ba481ddd..8a28deb3 100644
--- a/python/fatcat_web/entity_helpers.py
+++ b/python/fatcat_web/entity_helpers.py
@@ -32,6 +32,7 @@ def generic_get_editgroup_entity(editgroup, entity_type, ident):
edits = editgroup.edits.containers
else:
raise NotImplementedError
+ revision_id = None
for e in edits:
if e.ident == ident:
revision_id = e.revision