aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/apps/content/utils.py')
-rw-r--r--pydis_site/apps/content/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/utils.py b/pydis_site/apps/content/utils.py
index e4a24a73..63f1c41c 100644
--- a/pydis_site/apps/content/utils.py
+++ b/pydis_site/apps/content/utils.py
@@ -130,7 +130,7 @@ def fetch_tags() -> list[Tag]:
def set_tag_commit(tag: Tag) -> None:
"""Fetch commit information from the API, and save it for the tag."""
- if settings.STATIC_BUILD:
+ if settings.STATIC_BUILD: # pragma: no cover
# Static builds request every page during build, which can ratelimit it.
# Instead, we return some fake data.
tag.last_commit = Commit(