From 95bfb05d7ef34523788c2bfdf57911a19f45b8ec Mon Sep 17 00:00:00 2001 From: Artem Tabolin Date: Thu, 2 Jan 2020 21:14:51 +0300 Subject: [PATCH] Remove unused constant (#1003) The usage was removed in https://github.com/django-wiki/django-wiki/commit/c9b7f0b7b370c21b52f8e6c937687e9edb1d748b#diff-916cdb5c7b700ddd753057b9b0945e86 --- src/wiki/plugins/macros/mdx/toc.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wiki/plugins/macros/mdx/toc.py b/src/wiki/plugins/macros/mdx/toc.py index d7fe9aa8..5c520b27 100644 --- a/src/wiki/plugins/macros/mdx/toc.py +++ b/src/wiki/plugins/macros/mdx/toc.py @@ -5,8 +5,6 @@ from wiki.plugins.macros import settings HEADER_ID_PREFIX = "wiki-toc-" -IDCOUNT_RE = re.compile(r'^(.*)_([0-9]+)$') - def wiki_slugify(*args, **kwargs): return HEADER_ID_PREFIX + slugify(*args, **kwargs) -- 2.45.2