aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/entity_helpers.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-24 15:45:33 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-24 15:45:33 -0800
commit5d3e62f757e968d28e90bdc4f0abe2ee07a09f3f (patch)
treecd0c96aad17b6f823a145cccc82316dce5aaae6f /python/fatcat_web/entity_helpers.py
parente58d5760b8d51d4e4085ac9ae06364b461d11ce0 (diff)
downloadfatcat-5d3e62f757e968d28e90bdc4f0abe2ee07a09f3f.tar.gz
fatcat-5d3e62f757e968d28e90bdc4f0abe2ee07a09f3f.zip
codespell fixes in python code (comments)
Diffstat (limited to 'python/fatcat_web/entity_helpers.py')
-rw-r--r--python/fatcat_web/entity_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/entity_helpers.py b/python/fatcat_web/entity_helpers.py
index 2e3b83c5..285513a8 100644
--- a/python/fatcat_web/entity_helpers.py
+++ b/python/fatcat_web/entity_helpers.py
@@ -92,7 +92,7 @@ def enrich_release_entity(entity: ReleaseEntity) -> ReleaseEntity:
# November 1.
if ref.extra and ref.extra.get("unstructured"):
ref.extra["unstructured"] = strip_extlink_xml(ref.extra["unstructured"])
- # for backwards compatability, copy extra['subtitle'] to subtitle
+ # for backwards compatibility, copy extra['subtitle'] to subtitle
if not entity.subtitle and entity.extra and entity.extra.get("subtitle"):
if isinstance(entity.extra["subtitle"], str):
entity.subtitle = entity.extra["subtitle"]