summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/entity_helpers.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-13 11:38:14 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-13 11:38:14 -0700
commit6a14c4be59794e6fedcd5874e09407cecf76cfdf (patch)
tree4b7eb8004b93e24a31fcf7b9d5c53ff8f0491583 /python/fatcat_web/entity_helpers.py
parent71f2816bef7fec5e7d2c4bca6681569781ef85fb (diff)
downloadfatcat-6a14c4be59794e6fedcd5874e09407cecf76cfdf.tar.gz
fatcat-6a14c4be59794e6fedcd5874e09407cecf76cfdf.zip
revision links from editgroup, and typofix
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