diff options
| author | 2023-07-21 20:28:47 +0200 | |
|---|---|---|
| committer | 2023-07-27 22:35:51 +0200 | |
| commit | f4b4528160a48c0fab49c2719c3b1da9e4e0374b (patch) | |
| tree | 5a5d97ab126b33ba0909568fffb0c33edd157af0 /pydis_site/apps | |
| parent | Merge pull request #1056 from python-discord/dependabot/pip/markdown-3.4.4 (diff) | |
Clean up pragma intended for Python 3.10 removal
Diffstat (limited to 'pydis_site/apps')
| -rw-r--r-- | pydis_site/apps/content/views/page_category.py | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/pydis_site/apps/content/views/page_category.py b/pydis_site/apps/content/views/page_category.py index 062c2bc1..1d9a9c39 100644 --- a/pydis_site/apps/content/views/page_category.py +++ b/pydis_site/apps/content/views/page_category.py @@ -56,9 +56,7 @@ class PageOrCategoryView(TemplateView):                      entry_info["name"] = frontmatter.load(entry).metadata["title"]                  elif entry.is_dir():                      entry_info["name"] = utils.get_category(entry)["title"] -                else:  # pragma: no cover -                    # TODO: Remove coverage.py pragma in Python 3.10 -                    # See: https://github.com/nedbat/coveragepy/issues/198 +                else:                      continue                  context["subarticles"].append(entry_info)  |